Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add support for user request parameter #362

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

fabio42
Copy link
Contributor

@fabio42 fabio42 commented Sep 26, 2024

In certain OpenAI Azure setups, the user parameter is a mandatory filed in the requests. Failing to include it results in a 422 error code. This patch introduces a mechanism to add the user parameter, allowing the use of mods in such setups.
I would appreciate your feedback on this change and any suggestions for improvement. Thank you!

In certain OpenAI Azure setups, the `user` parameter is mandatory in the requests. Failing to include this parameter results in a 422 error code.
This patch introduces a mechanism to add the user parameter, allowing the use of mods in such setups.
I would appreciate your feedback on this change and any suggestions for improvement.
Thank you!
@fabio42 fabio42 requested a review from caarlos0 as a code owner September 26, 2024 01:11
@caarlos0 caarlos0 merged commit 34d8469 into charmbracelet:main Sep 27, 2024
6 checks passed
@caarlos0
Copy link
Member

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants