Client or integration
Codex App
Area
Provider adapter
Summary
opencodex 2.11.0+ started forwarding response_format (including json_schema) to routed openai-chat providers in src/adapters/openai-chat.ts. The DeepSeek / Console Go upstream rejects json_schema with 400 "This response_format type is unavailable now". Codex's auto-review (approvals reviewer) always requests structured output, so every escalated tool call fails under deepseek. Version 2.10.2 did not forward response_format and worked fine.
Reproduction
- Run opencodex 2.11.0+ with
deepseek-v4-flash routed via cliproxy (opencode-go upstream).
- Trigger a Codex App auto-review (an escalated tool call needs approval).
- The reviewer request fails with the 400 below.
Normal (non-structured) requests succeed. Downgrading to 2.10.2 resolves it.
Version
2.11.1 (commit gc0a9db10f)
Operating system
macOS
Provider and model
cliproxy / deepseek-v4-flash (Console Go upstream)
Logs or error output
Provider error 400: {"error":{"param":null,"type":"invalid_request_error","code":"invalid_request_error","message":"Error from provider (Console Go): Upstream request failed: [invalid_request_error] This response_format type is unavailable now"}}
Redacted configuration
{
"providers": {
"cliproxy": {
"adapter": "openai-chat",
"baseUrl": "http://127.0.0.1:8317/v1"
}
}
}
Checks
Note: related issue #1338 was auto-closed because it did not use the issue template; the underlying bug is not fixed.
Client or integration
Codex App
Area
Provider adapter
Summary
opencodex 2.11.0+ started forwarding
response_format(includingjson_schema) to routed openai-chat providers insrc/adapters/openai-chat.ts. The DeepSeek / Console Go upstream rejectsjson_schemawith 400 "This response_format type is unavailable now". Codex's auto-review (approvals reviewer) always requests structured output, so every escalated tool call fails under deepseek. Version 2.10.2 did not forwardresponse_formatand worked fine.Reproduction
deepseek-v4-flashrouted via cliproxy (opencode-go upstream).Normal (non-structured) requests succeed. Downgrading to 2.10.2 resolves it.
Version
2.11.1 (commit gc0a9db10f)
Operating system
macOS
Provider and model
cliproxy / deepseek-v4-flash (Console Go upstream)
Logs or error output
Provider error 400: {"error":{"param":null,"type":"invalid_request_error","code":"invalid_request_error","message":"Error from provider (Console Go): Upstream request failed: [invalid_request_error] This response_format type is unavailable now"}}Redacted configuration
{ "providers": { "cliproxy": { "adapter": "openai-chat", "baseUrl": "http://127.0.0.1:8317/v1" } } }Checks