雨霖木枫 (@Jerold)你的codex是不是用着用着就404了? 中发帖

很多佬友在使用codex时,部分公益站没有开放远端压缩模型用着用着就: 
Error running remote compact task: unexpected status 404 Not Found: Invalid URL (POST /v1/responses/compact), url:

这时候很多人可能会重新开一个窗口,确实能解决,但是老是重开窗口也不是个问题,分享一个避免此问题的方法:
把 ~/.codex/config.toml 里的:
[model_providers.custom]
name = "OpenAI"
base_url = "https://你的-cc-switch/v1"
wire_api = "responses"
requires_openai_auth = true

改成:
[model_providers.cu...