Automatic approval system auto_review model configuration error: codex-auto-review does not exist

Open
#37,664 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust
Domain
api

Research direction

Start by locating the auto_review model configuration and the API request that sends codex-auto-review; compare it with the supported model names reported in the error. Reproduce an approval-triggering action on Windows, then verify that the automatic review completes and the requested operation can proceed without the invalid-model error.

Written by the indexing model from the issue text.

Description

app bug custom-model safety-check sandbox windows-os
What version of the Codex App are you using (From “About Codex” dialog)?

Codex++1.2.44

What subscription do you have?

免费版

What platform is your computer?

Windows

What issue are you seeing?

问题描述

在 Codex 桌面应用中执行任何需要审批的操作(如打开浏览器 Start-Process)时,
自动审批审查系统(auto_review)始终失败,导致所有高风险操作无法执行。

错误信息

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"}}

原因分析

自动审批系统内部调用模型时硬编码了 codex-auto-review 这个模型名,
但底层 API 只支持 deepseek-v4-prodeepseek-v4-flash

影响

所有需审批的操作(浏览器、外部命令等)完全无法执行,严重影响使用体验。

环境

  • Codex 桌面版(Windows)
  • 审批模式已设为"完全访问"
  • 对话模型使用 deepseek-v4-pro
  • 日期:2026-08-06 至今
What steps can reproduce the bug?

浏览器无法打开

What is the expected behavior?

No response

Additional information

No response

Dominant language
Rust
Stars
125k
Forks
19.5k
Avg merge
1m
Merged PRs (30d)
1k

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.