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 (@ai-sdk/anthropic): combine tool and user messages, combine system messages #2067

Merged
merged 5 commits into from
Jun 24, 2024

Conversation

lgrammel
Copy link
Collaborator

Summary

  • Combines sequences of user and tool messages into a single Anthropic user message
  • Combines sequences of system messages into a single system instruction

@lgrammel lgrammel marked this pull request as ready for review June 24, 2024 07:26
@lgrammel lgrammel merged commit 0480083 into main Jun 24, 2024
8 checks passed
@lgrammel lgrammel deleted the lg/anthropic-tool-messages branch June 24, 2024 08:10
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