Skip to content

Codex history becomes blank after switching configuration

Quick fix

Retry after upgrading to CC Switch 4.0 or later; if the issue persists, provide the version and before-and-after model_provider values.

Error output
切换为配置 2 后界面变为C
English translation

After switching to configuration 2, the interface changed to C

The issue reported that after upgrading from CC Switch 3.16.5 to 3.18.0, switching configurations made Codex history appear blank; closing and reopening the same configuration still worked normally. The maintainer explained that CC Switch 4.0 rewrote how Codex switching works, replacing only key fields such as the address, key, and model in config.toml, and adjusting the group associated with session history. As a result, the issue may not occur in newer versions.

  1. Upgrade to the latest CC Switch and try switching configurations again. If the issue persists, report the CC Switch version, Codex version, and the before-and-after model_provider values in ~/.codex/config.toml.

ToolCodex
Version3.18.0(报告中使用的 CC Switch 版本;受影响范围未知)
PlatformsmacOS

This page is distilled from 1 real issues

(No FAQ yet)

This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.