Skip to content

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…

Error output
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.

  1. Try upgrading to CC Switch 4.0. If the issue persists, submit a new issue with the version and reproduction steps.

ToolCodex
Version0.156.0(出现问题;0.155.1 可正常刷新)
PlatformsLinux
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.

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.