You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenAI documentation notes the ability to set an explicit organization ID via HTTP header (in addition to the API key). Is there an option to set an OpenAI organization ID in LibreChat's OpenAI configuration so that it is included in all API requests to OpenAI?
More Details
I hope to lock down LibreChat to a specific OpenAI organization ID so that, in the event that the associated OpenAI user is added to multiple Open AI organizations, API calls from LibreChat are still associated with an explicitly configured OpenAI organization.
I searched LibreChat docs, GitHub issues, and code and did not see anything obvious. Thanks!
What is the main subject of your question?
Endpoints
Screenshots
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
danny-avila
changed the title
[Question]: Can I Pass OpenAI Organization ID in LibreChat OpenAI API requests?
[Enhancement]: Pass OpenAI Organization ID to OpenAI API requests
Jan 17, 2024
Not currently but this a good suggestion and easily implemented, will mark this as planned.
danny-avila
changed the title
[Enhancement]: Pass OpenAI Organization ID to OpenAI API requests
Enhancement: Pass OpenAI Organization ID to OpenAI API requests
Jan 17, 2024
You can now specify which organization to use for each API request to OpenAI. However, it is not required if you are only part of a single organization or intend to use your default organization. You can check your default organization here.
This can also help you limit your LibreChat instance from allowing API keys outside of your organization to be used, as a mismatch between key and organization will throw an API error.
All outgoing requests to OpenAI, including langchain/plugin requests, should result in error 401 no such organization if the org id is invalid or there is a mismatch.
What is your question?
OpenAI documentation notes the ability to set an explicit organization ID via HTTP header (in addition to the API key). Is there an option to set an OpenAI organization ID in LibreChat's OpenAI configuration so that it is included in all API requests to OpenAI?
More Details
I hope to lock down LibreChat to a specific OpenAI organization ID so that, in the event that the associated OpenAI user is added to multiple Open AI organizations, API calls from LibreChat are still associated with an explicitly configured OpenAI organization.
I searched LibreChat docs, GitHub issues, and code and did not see anything obvious. Thanks!
What is the main subject of your question?
Endpoints
Screenshots
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: