Skip to main content

CODEX_PRO_OAUTH_MODELS

Constant CODEX_PRO_OAUTH_MODELS 

Source
pub const CODEX_PRO_OAUTH_MODELS: &[&str];
Expand description

Models accepted by Codex CLI when using ChatGPT Pro OAuth.

Mirrored from ~/.codex/models_cache.json (which the official CLI refreshes on every login). This list is intentionally narrow; passing a model not in this set with --mode codex returns AppError::Validation BEFORE any OAuth turn is spent.