Skip to content
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

fix anthropic chat model mutating input list #6457

Merged
merged 2 commits into from
Jun 20, 2023

Conversation

agola11
Copy link
Collaborator

@agola11 agola11 commented Jun 20, 2023

Fixes: ChatAnthropic was mutating the input message list during formatting which isn't ideal bc you could be changing the behavior for other chat models when using the same input

Before submitting

Who can review?

Tag maintainers/contributors who might be interested:

@vercel
Copy link

vercel bot commented Jun 20, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Jun 20, 2023 2:49am

@hwchase17 hwchase17 merged commit a924633 into master Jun 20, 2023
@hwchase17 hwchase17 deleted the ankush/chat-anthropic-fix branch June 20, 2023 04:30
This was referenced Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants