Automatic approval review failed:Codex 使用 MiMo 自动审批失败
Quick fix
将 Codex 自动审批改用支持 json_schema 的模型,或等待 CC Switch 为 MiMo 提供兼容的回退机制。
Symptom
Section titled “Symptom”Rejected("This action was rejected due to unacceptable risk.
Reason: Automatic approval review failed: {
"error":{
"message":"CC Switch local proxy failed while handling Codex endpoint /responses. Provider: MiMo; model: mimo-v2.5; upstream_status: HTTP 400; cause: data:{
\"error\":{
\"code\":\"responses_feature_not_supported\",
\"message\":\"text.format type 'json_schema' is not supported, only 'text' and 'json_object' are allowed.\",
\"param\":\"\",
\"type\":\"unsupported_feature\"
}
}",
"type":"upstream_error",
"code":"cc_switch_upstream_error"
}
}")Codex 执行带 `sandbox_permissions: "require_escalated"` 的命令时,CC Switch 会将自动审批请求转发到 MiMo。该审批请求使用 `json_schema` 响应格式,但 `mimo-v2.5` 仅接受 `text` 和 `json_object`,上游因此返回 HTTP 400。
自动审批在命令执行前失败,因此所有需要提升沙箱权限的命令都会被拒绝。该 issue 尚未关闭,输入材料中没有已确认的修复版本或回退配置。
为 Codex 的自动审批流程使用支持 `json_schema` 响应格式的模型。
如果必须使用 MiMo,等待 CC Switch 实现模型能力检测或在不支持结构化输出时的简化审批回退机制。
Affected Versions
Section titled “Affected Versions”ToolCodex
Version未知
PlatformsmacOS
Source Issues
Section titled “Source Issues”本页汇总自 1 个真实 issue
(暂无 FAQ)
这是一个非官方社区 wiki,与 cc-switch 作者及项目本身无隶属关系。内容整理自项目公开的 GitHub issues。本站不分发任何软件。