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

Allow OpenAI API URL to be configured via assistant.openai_api_url #7552

Merged
merged 5 commits into from
Feb 12, 2024

Conversation

Yesterday17
Copy link
Contributor

@Yesterday17 Yesterday17 commented Feb 8, 2024

Partially fixes #4321, since Azure OpenAI API can be converted to OpenAI API.

Release Notes:

  • Added assistant.openai_api_url setting to allow OpenAI API URL to be configured.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 8, 2024
@maxdeviant maxdeviant changed the title Allow OpenAI api url to be configured via assistant.openai_api_url Allow OpenAI API URL to be configured via assistant.openai_api_url Feb 8, 2024
Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
@maxdeviant maxdeviant merged commit 9e17018 into zed-industries:main Feb 12, 2024
7 checks passed
@maxdeviant
Copy link
Member

@Yesterday17 Thank you!

@segmentationf4u1t
Copy link

To maintain consistency set by OpenAI wrappers, I propose using the standard openai_base_url naming convention and if not yet introduced add ability to read it from env level. This will enhance maintainability and make our code more familiar for those using other OpenAI tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Azure OpenAI Support
3 participants