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
community[patch]: add missing chunk parameter for _stream/_astream #17807
Conversation
mackong
commented
Feb 20, 2024
- Description: Add missing chunk parameter for _stream/_astream for some chat models, make all chat models in a consistent behaviour.
- Issue: N/A
- Dependencies: N/A
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
@mackong thank you very much for the patch! There's another issue with most of these models. They should be calling the callback prior to yielding the chunk rather than after yielding the chunk. If you have interest, we'd appreciate another PR for that as well :) |
@mackong if your'e able to resolve the linting error, we can merge right away |
5ebdba2
to
b945ab3
Compare
Fixed. |
OK, I'll fix it in another PR. |
merge when tests pass |
…angchain-ai#17807) - Description: Add missing chunk parameter for _stream/_astream for some chat models, make all chat models in a consistent behaviour. - Issue: N/A - Dependencies: N/A
…angchain-ai#17807) - Description: Add missing chunk parameter for _stream/_astream for some chat models, make all chat models in a consistent behaviour. - Issue: N/A - Dependencies: N/A
…angchain-ai#17807) - Description: Add missing chunk parameter for _stream/_astream for some chat models, make all chat models in a consistent behaviour. - Issue: N/A - Dependencies: N/A