-
Notifications
You must be signed in to change notification settings - Fork 102
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
Fixes streaming for anthropic tool call. #119
Conversation
Any timelines on when we could merge this? The pr looks good to me, and the problem is blocking usage of Bedrock sonnet on our end. |
Just tried it in langgraph, but I had to adjust a little bit how to use it. Here are the docs. I'm not sure if part of this PR or not. But I thought it would work seamlessly, and it didn't. https://langchain-ai.github.io/langgraph/how-tos/streaming-tokens/#streaming-llm-tokens langgraph==0.1.14 |
3cc9bdc
to
ccb1b74
Compare
Just ran into this same problem with Claude using ChatBedrock, good to see it close to being corrected! Thanks! |
@3coins what work remains on this? Can we push it through? |
I am still getting the same error using ChatBedrock with streaming=True. File "/home/ec2-user/miniconda3/envs/intrepid/lib/python3.11/site-packages/langchain_aws/llms/bedrock.py", line 594, in _get_provider It works without issue with streaming not set. |
Could you try again? This wasn't released at the time of your comment. Just released in langchain-aws==0.1.14. |
Got it working with out the error.......realized I updated langchain and not langchain-aws. User error! |
Fixes #80
Replaces #81