Auto-review uses invalid model name "codex-auto-review"

Resolved 💬 2 comments Opened Jul 30, 2026 by tiffanydaiwin1-commits Closed Aug 6, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

When running Codex with full access permissions enabled, all shell commands and network requests are rejected by auto-review. The error message shows:

"The supported API model names are deepseek-v4-pro or deepseek-v4-flash, but you passed codex-auto-review."

The auto-review system is calling an invalid model name that the API doesn't accept. This makes the entire app unusable even with full permissions.

macOS, Codex Desktop version 26.721.41059

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 29 days ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #34976
  • #34936

Powered by Codex Action

metrofun · 27 days ago

For the DeepSeek endpoint in this report, you can keep your normal model
unchanged and route Codex's fixed codex-auto-review name to
deepseek-v4-pro through a local gateway.

Install Swobu and create a codex
workspace with two explicit Responses routes:

| Route | Backend model | Backend URL |
|---|---|---|
| deepseek-v4-pro | deepseek-v4-pro | your DeepSeek-compatible /v1 URL |
| codex-auto-review | deepseek-v4-pro | the same /v1 URL |

Then point Codex at that workspace in ~/.codex/config.toml:

model = "deepseek-v4-pro"
model_provider = "swobu"

[model_providers.swobu]
name = "Swobu"
wire_api = "responses"
base_url = "http://127.0.0.1:7926/c/codex/v1"

Codex does not need an API key for the loopback Swobu endpoint. Configure any
real backend credential on both Swobu targets.

I reproduced this route: Codex's model: "codex-auto-review" request reached
the backend as model: "deepseek-v4-pro".

This is a gateway workaround, not a Codex fix. The backend must support the
Responses behavior used by auto-review. It only addresses the model-name
rejection shown here; it does not repair other full-access or first-party
auto-review failures.

Disclosure: I maintain Swobu. If you try this on Desktop 26.721.41059, please
share whether the review request reaches DeepSeek. For a Swobu-specific failure,
include the error and backend setup at
github.com/swobuforge/swobu, and I will
help investigate.