跳转到内容

Common Config disappears during Codex proxy takeover

Quick fix

升级到 cc-switch 4.0.0 或更新版本;该版本重做路由模式,接管时保留 config.toml 的其他内容。

报错原文
shared Codex config such as:

  - `[agents]`
  - `[features]`
  - `[memories]`
  - `developer_instructions`
  - other shared/default TOML sections

  can disappear from the live Codex config while proxy takeover is active.

在 cc-switch 3.14.1 中,Codex 代理接管会原地修改 live config 的 `auth.OPENAI_API_KEY` 和 `base_url`,而不会从有效供应商配置重建文件,因此共享配置可能从 `~/.codex/config.toml` 消失。维护者说明,cc-switch 4.0.0 移除了通用配置片段并重做路由模式:进入路由时只替换地址和占位凭据,其他 `config.toml` 内容原样保留,因此该问题在 4.0.0 中不再适用。

  1. 升级到 cc-switch 4.0.0 或更新版本。维护者表示新版已重做路由模式;如升级后仍遇到问题,可补充信息重新打开 issue。

ToolCodex
Version3.14.1(受影响版本;维护者称 4.0.0 起该问题不再适用)
PlatformsWindows

(暂无 FAQ)

这是一个非官方社区 wiki,与 cc-switch 作者及项目本身无隶属关系。内容整理自项目公开的 GitHub issues。本站不分发任何软件。