pub fn list_codex_models() -> Vec<String>Expand description
Returns the list of models accepted by Codex with ChatGPT Pro OAuth.
Tries to read ~/.codex/models_cache.json (which the official CLI
refreshes on every login) and falls back to the static
CODEX_PRO_OAUTH_MODELS constant when the file is missing or
malformed. The returned Vec<String> is the union of both sources,
de-duplicated.