Codex CLI 0.156.0 does not refresh custom provider model list
Quick fix
The issue is caused by the Codex client or provider and cannot be fixed by CC Switch; try upgrading to 4.0 and, if it persists, submit the version and…
Symptom
Section titled “Symptom”Codex CLI **0.156.0** does **not** request `/v1/models`, so the model list is not refreshed.The issue occurs only in Codex CLI 0.156.0: 0.155.1 requests `/v1/models` and loads the remote model list, but after upgrading, that request is no longer sent. Packet capture shows the difference occurs before the server responds; switching to a fresh `CODEX_HOME` did not change the behavior, while downgrading to 0.155.1 restored it.
The maintainer confirmed that the cause is on the client or provider side and cannot be fixed by CC Switch. `api_key_model_discovery` and `model_catalog_url`, mentioned in the issue, are only possible directions proposed by the reporter; the specific configuration combination required has not been confirmed.
Try upgrading to CC Switch 4.0. If the issue persists, submit a new issue with the version and reproduction steps.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
- After updating Codex and switching to a custom provider configuration, what should I do if Codex still cannot refresh the model list?
- The maintainer said the issue comes from the client or provider side and cannot be fixed by CC Switch. Try upgrading to 4.0; if it still reproduces, submit a new issue with the version and reproduction steps.
Related problems
Section titled “Related problems”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.