Anthropic fails with 400 error if chosen to continue a chat. #6725
Unanswered
mansiibm
asked this question in
Troubleshooting
Replies: 2 comments 1 reply
-
tool calls are being included from agents to anthropic, I'll resolve this soon |
Beta Was this translation helpful? Give feedback.
1 reply
-
@danny-avila Running into the exact same issue. Had an agent chat going with Bedrock (Sonnet 3.7), then switched to the OpenAI GPT 4.1 model. Worked fine until I switched back to Bedrock & started a brand new converation with the agent (with tools enabled). 2025-05-11 14:36:47 error: [api/server/controllers/agents/client.js #sendCompletion] Unhandled error type The model returned the following errors: reasoning_effort: Extra inputs are not permitted |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, wanted to share an observation which happened multiple time with me-
Suppose I begin querying from azure openai or anyother provider and after like 2-3 continuous chats, I switch to anthropic on the same chat- it fails with -
{"level":"warn","message":"User: 66e2c6cd3f662eed93695bac | Anthropic Request 2 failed: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.1.content.0.text.tool_call_ids: Extra inputs are not permitted"}}","timestamp":"2025-04-04T11:10:35.292Z"}. Mostly haiku does this.
But sometimes it performs smoothly.
Primarily this happens if I switch midway from agents to anthropic
Same message in the backend also
Beta Was this translation helpful? Give feedback.
All reactions