proxy_compatibilityTier 1 · 70% confidence

ai-agents-proxy-compatibility-codex-cli-with-gpt-5-codex-model-fails-when-routed-863cca1b

agent: ai_agents

When does this happen?

IF Codex CLI with gpt-5-codex model fails when routed through LiteLLM proxy, showing missing intermediary steps, SSE parse errors, or errors about missing required parameter 'tools[0].name'.

How others solved it

THEN Ensure the LiteLLM proxy correctly forwards the 'responses' API wire format for gpt-5-codex, including all streaming events and tool call fields. For the 'tools[0].name' error, verify the proxy does not strip the 'name' property from tool definitions. As a workaround, consider using the older node-based Codex CLI or set `wire_api = 'responses'` in the provider config. Also check that the proxy version supports the new gpt-5-codex model.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics