``markdown
Client or integration
Codex App
Area
Proxy and routing
Summary
After a web search in a conversation using deepseek/deepseek-v4-flash (opencodex 2.10.0, DeepSeek native Responses route), every subsequent turn fails with HTTP 400 invalid_request_error from api.deepseek.com:
Failed to deserialize the JSON body into the target type: input: missing field 'queries' at line 1 column N
I expected the replayed web_search_call history to be accepted by DeepSeek's Responses API (or dropped on translated routes) so the conversation can continue.
Reproduction
- Start opencodex 2.10.0 (
ocx start --port 10100) with the DeepSeek provider and model deepseek/deepseek-v4-flash on the native Responses route (responsesPath: "/responses").
- In the Codex App, run a turn that performs a web search, so a
web_search_call history item is recorded.
- Send any follow-up message in the same conversation.
- Every subsequent turn fails with 400
missing field 'queries'.
Minimal repro against the proxy — POST /v1/responses with model: "deepseek/deepseek-v4-flash" and input containing:
{"type":"web_search_call","id":"ws_x","status":"completed","action":{"type":"search","query":"test"}}
→ 400 missing field 'queries'.
Changing the action to {"type":"search","queries":["test"]} → 200.
Version
2.10.0
Operating system
Windows (build 26200, DisplayVersion 25H2)
Provider and model
deepseek / deepseek-v4-flash
Logs or error output
HTTP 400 invalid_request_error from api.deepseek.com:
Failed to deserialize the JSON body into the target type: input: missing field 'queries' at line 1 column N
Screenshots and supporting files
None.
Redacted configuration
Not applicable — provider adapter routing for deepseek/deepseek-v4-flash as shipped in 2.10.0 (modelWireDefaults + responsesPath: "/responses").
Checks
``markdown
Client or integration
Codex App
Area
Proxy and routing
Summary
After a web search in a conversation using
deepseek/deepseek-v4-flash(opencodex 2.10.0, DeepSeek native Responses route), every subsequent turn fails with HTTP 400invalid_request_errorfromapi.deepseek.com:Failed to deserialize the JSON body into the target type: input: missing field 'queries' at line 1 column NI expected the replayed
web_search_callhistory to be accepted by DeepSeek's Responses API (or dropped on translated routes) so the conversation can continue.Reproduction
ocx start --port 10100) with the DeepSeek provider and modeldeepseek/deepseek-v4-flashon the native Responses route (responsesPath: "/responses").web_search_callhistory item is recorded.missing field 'queries'.Minimal repro against the proxy — POST
/v1/responseswithmodel: "deepseek/deepseek-v4-flash"and input containing:{"type":"web_search_call","id":"ws_x","status":"completed","action":{"type":"search","query":"test"}}→ 400
missing field 'queries'.Changing the action to
{"type":"search","queries":["test"]}→ 200.Version
2.10.0
Operating system
Windows (build 26200, DisplayVersion 25H2)
Provider and model
deepseek / deepseek-v4-flash
Logs or error output
Screenshots and supporting files
None.
Redacted configuration
Not applicable — provider adapter routing for
deepseek/deepseek-v4-flashas shipped in 2.10.0 (modelWireDefaults+responsesPath: "/responses").Checks