zed icon indicating copy to clipboard operation
zed copied to clipboard

Add Configuration Option for Custom OpenAI Server URL

Open zcnst opened this issue 10 months ago • 3 comments

Check for existing issues

  • [X] Completed

Describe the feature

As a user of the OpenAI API, I would like the ability to configure a custom server URL endpoint for API requests. Currently, we can only set the API Key, which restricts us to the default OpenAI server URL.

This feature is particularly relevant for enterprise users who have strict control over their data routing and server access policies.

Moreover, it would align the OpenAI API client with other API clients that offer similar URL configuration options, thereby meeting a common expectation for API interaction.

I look forward to seeing this feature considered for implementation, as it would significantly enhance the flexibility and control we have over our interactions with OpenAI's services. Thank you for your attention to this request.

Screenshot 2024-04-18 at 10 56 48

If applicable, add mockups / screenshots to help present your vision of the feature

No response

zcnst avatar Apr 18 '24 08:04 zcnst

Check out this comment on how to provide a custom AI endpoint URL. Does this meet your needs?

Moshyfawn avatar Apr 18 '24 16:04 Moshyfawn

Related #9617

Moshyfawn avatar Apr 18 '24 16:04 Moshyfawn

It also would be great to have the freedom to choose an AI provider. The context window size may be specified and passed as configuration parameters Zed SH1ez8mI Monday

castletaste avatar Apr 22 '24 15:04 castletaste