-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Enable stream usage #483
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
Enable stream usage #483
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Seems
model_name = model or _MODEL_MAP[model_provider] | ||
model = _PROVIDER_MAP[model_provider](model=model_name, temperature=temperature) | ||
model = _PROVIDER_MAP[model_provider]( | ||
model=model_name, temperature=temperature, stream_usage=True |
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.
what's happening here? otherwise all seems fine
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.
formatting
* Update langsmith version * update ChatOpenAI to have stream_usage enabled
No description provided.