-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
aws[patch]: Fix fails when calling multiple tools simultaneously #6175
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
I've made a dirty fix that works... any ideas on how to do this more cleanly? |
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.
This looks good, it would be great to have a test confirming this too. Could you add one inside libs/langchain-aws/src/tests/chat_models.test.ts
which imports this function, passes an array of messages and expects the messages to be in the proper format?
Thank you!
I've completed the test and refactored it slightly. Is this okay with you? |
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.
Thank you! Going to get this merged & released now
Fixes #6173