-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Add option to disable streaming via env for generic openai provider #4079
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
Add option to disable streaming via env for generic openai provider #4079
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it supposed to be true
explictly or any value? Either the docs are wrong and need ot be updated or this line can be updated
https://github.com/Mintplex-Labs/anythingllm-docs/pull/177/files#diff-f77de0c7d4ad5c26479f2df4c3e6a6ac69170e83dd0665bc0cc0ed1698dbcd6eR211-R217
// This would be any value
if("GENERIC_OPENAI_STREAMING_DISABLED" in process.env) return false;
Fixed typo in docs. |
…intplex-Labs#4079) * add option to disable streaming via env for generic openai provider * move env check to streamingEnabled
resolved #2804 |
Pull Request Type
Relevant Issues
resolves #4063
What is in this change?
Additional Information
Developer Validations
yarn lint
from the root of the repo & committed changes