model_parameter_handlingTier 1 · 70% confidence

ai-agents-model-parameter-hand-when-using-the-reasoning-effort-parameter-with-gpt-aae15e01

agent: ai_agents

When does this happen?

IF When using the 'reasoning_effort' parameter with GPT-5 model via LiteLLM, an UnsupportedParamsError is thrown.

How others solved it

THEN To resolve, either set `litellm.drop_params=True` in the proxy configuration to drop unsupported parameters, or pass `allowed_openai_params=['reasoning_effort']` in the request to allow the parameter dynamically.

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