-
-
Notifications
You must be signed in to change notification settings - Fork 325
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 specifying OPENAI_API_BASE to override API location #321
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
Can we also add feature to configure REQUESTS_CA_BUNDLE when using chat UI so we can configure with https certificate? |
@sqlreport Could you please open a new feature request for REQUESTS_CA_BUNDLE? Thanks! |
Problem
When using the OpenAI models, you can't override where the API points. This is useful for corporate proxies of OpenAI to be able to scope an enterprise's use of API keys more centrally, as OpenAI's interface doesn't give you great tooling to support issuing time-limited API keys, scoped keys, etc.
Proposed Solution
I mentioned this in #245 but if this plugin could use the
openai
env vars out of the box ($OPENAI_API_KEY
and$OPENAI_API_BASE
), I wouldn't have to do anything to have this work, as our proxy is a direct mirror.Additional context
The text was updated successfully, but these errors were encountered: