Auto-review escalation fails: codex-auto-review model name not recognized
When the agent requests escalated permissions (e.g. netsh wlan show interfaces requiring admin), the automatic approval review always fails with the following error:
Automatic approval review failed: {
"error": {
"message": "The supported API model names are deepseek-v4-pro or deepseek-v4-flash,
but you passed codex-auto-review.",
"type": "invalid_request_error",
"param": null,
"code": "invalid_request_error"
}
}
Steps to reproduce:
Open Codex and enter any prompt that triggers an escalation request (e.g., "show me my Wi-Fi password")
Agent attempts to run a privileged command with sandbox_permissions: "require_escalated"
Auto-review system rejects it with the above error
Expected behavior:
Escalation requests should be reviewed and presented to the user for approval.
Actual behavior:
All escalation requests fail because the auto-review system passes the model name codex-auto-review, which is not a valid model name — only deepseek-v4-pro and deepseek-v4-flash are supported.
Environment:
Codex Desktop (Windows)
Date: 2026-05-31
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗