Comments (5)
cc @3coins , can you have a look? Do you think this has been introduced with the usage_metadata
refactored that happened a few weeks ago?
from langchain-aws.
I think the issue comes from here in Langchain:
- We adds the chunk during streaming to the
generation
variable here - The
__add__
method is overriden to merge generation info and messages, merging is done in a nested way.
from langchain-aws.
@hourliert is this issue resolved?
from langchain-aws.
I shipped a mitigation on a private repo and Github automatically closed this. Sorry, this is still an issue.
from langchain-aws.
Hi @hourliert, a fix for this was released yesterday in langchain-aws==0.1.17
. Would you mind checking if this is resolved for you?
from langchain-aws.
Related Issues (20)
- [Question] RetryWithErrorOutputParser with_structured_output
- ChatBedrockConverse doesn't take into account boto3 setup_default_session. HOT 3
- ValueError: Model anthropic.claude-3-haiku-20240307-v1:0 does not currently support tool_choice.
- Provider ai21 model does not support chat.
- Tool calling does not work with LLama3.1 HOT 11
- Sagemaker TGI MESSAGES_API_ENABLED support
- Using SagemakerEndpoint together with RunnableWithMessageHistory with custom prompt template creates broken prompt
- Bedrock Knowledge Base Search Filter "in" broken HOT 2
- langchain-aws has not working with some of the Bedrock Cohere and Amazon model HOT 11
- ChatBedrockConverse and Llama 3.1 tool calling not working. Generates text instead of tool_call HOT 10
- Create agent with tools or Bind_tools does not implement the correct chain with Llama models in Bedrock
- ChatBedrock doesn't support streaming when Bedrock guardrails are applied HOT 2
- Cross-region support for Bedrock HOT 5
- with_structured_output not working for Llama 3.1 models + converse HOT 6
- Provider eu model does not support chat. HOT 2
- `ChatBedrockConverse` and `with_structured_output` not working with `claude-3-sonnet` HOT 1
- Regression after upgrading to langchain-aws==0.1.17 HOT 2
- Bedrock Inference Model IDs are out of support.
- Support max_parallel_api_rate to call InvokeModel API parallelly to shorten the embedding time
- ValidationException: A conversation must alternate between user and assistant roles. Make sure the conversation alternates between user and assistant roles and try again.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from langchain-aws.