From 671d5068e7868357c3122e888ce675c7b81ec6e0 Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Sat, 11 Apr 2026 03:09:46 -0700 Subject: [PATCH] fix: add gpt-5.4 and gpt-5.4-mini to openai-codex curated model list (#7670) The _PROVIDER_MODELS['openai-codex'] list was missing gpt-5.4 and gpt-5.4-mini, causing them to not appear in the /model picker for ChatGPT OAuth users. codex_models.py already had these models in DEFAULT_CODEX_MODELS, but the curated list that feeds the Telegram/Discord /model picker was never updated. Reported by @chongdashu --- hermes_cli/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hermes_cli/models.py b/hermes_cli/models.py index dda8f94bf..a3cd389b4 100644 --- a/hermes_cli/models.py +++ b/hermes_cli/models.py @@ -87,6 +87,8 @@ _PROVIDER_MODELS: dict[str, list[str]] = { "openai/gpt-5.4-nano", ], "openai-codex": [ + "gpt-5.4", + "gpt-5.4-mini", "gpt-5.3-codex", "gpt-5.2-codex", "gpt-5.1-codex-mini",