Skip to content

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

Closed as duplicate

Description

@tiffanydaiwin1-commits

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

Activity

  1. added
    bugSomething isn't working
    appIssues related to the Codex desktop app
    safety-checkIssues related to safety and abuse checks
    custom-modelIssues related to custom model providers (including local models)
    on Jul 30, 2026
  2. metrofun commented on Jul 31, 2026

    @metrofun

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingcustom-modelIssues related to custom model providers (including local models)safety-checkIssues related to safety and abuse checks

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions