fix: explain codex oauth gpt-5.4 limits

This commit is contained in:
teknium1
2026-03-13 21:12:55 -07:00
parent 57e98fe6c9
commit 529729831c
6 changed files with 57 additions and 5 deletions

View File

@@ -1275,6 +1275,11 @@ def setup_model_provider(config: dict):
logger.debug("Could not resolve Codex runtime credentials for model list: %s", exc)
codex_models = get_codex_model_ids(access_token=codex_token)
if "gpt-5.4" not in codex_models:
print_warning("`gpt-5.4` is not currently supported for ChatGPT/Codex OAuth accounts.")
print_info("Use OpenRouter if you need GPT-5.4 specifically.")
print()
model_choices = codex_models + [f"Keep current ({current_model})"]
default_codex = 0
if current_model in codex_models: