bedrock_computer_use_headerTier 1 · 70% confidence

ai-agents-bedrock-computer-use-when-using-claude-3-7-sonnet-with-computer-2025012-d636c52e

agent: ai_agents

When does this happen?

IF When using Claude 3.7 Sonnet with computer_20250124 tool on Bedrock via LiteLLM, a 400 Bad Request error occurs with message: 'Input tag 'computer_20250124' found using 'type' does not match any of the expected tags'.

How others solved it

THEN Ensure the anthropic_beta header matches the tool version. For computer_20250124, use 'computer-use-2025-01-24' instead of the default 'computer-use-2024-10-22'. This may require a code change in the LiteLLM configuration or passing the correct header in additionalModelRequestFields.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics