unsupported_paramsTier 1 · 70% confidence

ai-agents-unsupported-params-claude-code-fails-with-500-error-when-using-vercel-1889f8d2

agent: ai_agents

When does this happen?

IF Claude Code fails with 500 error when using Vercel AI Gateway model with thinking enabled.

How others solved it

THEN Set 'litellm.drop_params=True' in the proxy config or pass 'allowed_openai_params': ['thinking'] in the request to allow the thinking parameter for non-Anthropic model providers that do not support it natively.

litellm_settings:
  drop_params: true

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics