You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] codex_app__automation_update schema type is null - causes DeepSeek HTTP 400 via CC Switch #36441
appIssues related to the Codex desktop appautomationsbugSomething isn't workingcustom-modelIssues related to custom model providers (including local models)tool-callsIssues related to tool calling
When using DeepSeek (deepseek-v4-pro) as the model provider through CC Switch, the proxy fails with:
CC Switch local proxy failed while handling Codex endpoint /responses.
Provider: DeepSeek; model: deepseek-v4-pro; upstream_status: HTTP 400;
cause: Invalid schema for function 'codex_app__automation_update': schema must be a JSON Schema of 'type: "object"', got 'type: null'.
Root cause
The function definition for codex_app__automation_update has a JSON Schema where ype is
ull instead of "object". DeepSeek's API validates function schemas strictly and rejects the request with HTTP 400.
Expected behavior
The schema should have "type": "object" (a string value), not "type": null.
Impact
Users cannot use DeepSeek as a model provider through CC Switch because every request that includes the codex_app__automation_update tool definition will be rejected.
Suggested fix
Update the codex_app__automation_update function schema to use "type": "object" instead of
ull (or "type": null).
appIssues related to the Codex desktop appautomationsbugSomething isn't workingcustom-modelIssues related to custom model providers (including local models)tool-callsIssues related to tool calling
Activity