-
Notifications
You must be signed in to change notification settings - Fork 16.2k
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
openai[patch]: Update openai chat model to new base class interface #19729
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
message_dicts, params = self._create_message_dicts(messages, stop) | ||
params = { | ||
**params, | ||
**({"stream": stream} if stream is not None else {}), | ||
**({"stream": self.streaming} if self.streaming else {}), |
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.
and just confirming - this will not be called if I call chat.generate(stream=True)
because that will call ._stream
instead
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.
yep
…class interface (#19871) Partially Reverts #19729 --------- Co-authored-by: Erick Friis <[email protected]>
…class interface (#19871) Partially Reverts langchain-ai/langchain#19729 --------- Co-authored-by: Erick Friis <[email protected]>
…class interface (#19871) Partially Reverts #19729 --------- Co-authored-by: Erick Friis <[email protected]>
No description provided.