Skip to content

fix(anthropic): insert user message between consecutive assistant mes…#1

Open
Hassad674 wants to merge 1 commit into
mainfrom
fix/anthropic-consecutive-assistant-messages
Open

fix(anthropic): insert user message between consecutive assistant mes…#1
Hassad674 wants to merge 1 commit into
mainfrom
fix/anthropic-consecutive-assistant-messages

Conversation

@Hassad674
Copy link
Copy Markdown
Owner

…sages

Fixes crewAIInc#4798. Claude rejects consecutive assistant messages. The Anthropic formatter now inserts a synthetic user message between them, similar to the existing Bedrock approach.

…sages

Fixes crewAIInc#4798. Claude rejects consecutive assistant messages. The Anthropic
formatter now inserts a synthetic user message between them, similar to
the existing Bedrock approach.
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.

Claude 4.6 models fail: consecutive assistant messages treated as prefill

1 participant