fix: add gpt-5.4 to openai-codex model picker#7670
Merged
Conversation
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
5c6c00b to
082e3c1
Compare
Tommyeds
pushed a commit
to Tommyeds/hermes-agent
that referenced
this pull request
Apr 12, 2026
…ousResearch#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
liaoyinglong
pushed a commit
to liaoyinglong/hermes-agent
that referenced
this pull request
Apr 13, 2026
…ousResearch#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
ulasbilgen
pushed a commit
to ulasbilgen/hermes-adhd-agent
that referenced
this pull request
May 1, 2026
…ousResearch#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
aj-nt
pushed a commit
to aj-nt/hermes-agent
that referenced
this pull request
May 1, 2026
…ousResearch#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
02356abc
pushed a commit
to 02356abc/hermes-agent
that referenced
this pull request
May 14, 2026
…ousResearch#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
olympus-terminal
pushed a commit
to olympus-terminal/hermes-agent
that referenced
this pull request
May 16, 2026
…ousResearch#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
gweeteve
pushed a commit
to gweeteve/hermes-agent
that referenced
this pull request
Jun 2, 2026
…ousResearch#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
Egavasyug
pushed a commit
to Egavasyug/hermes-agent
that referenced
this pull request
Jun 10, 2026
…ousResearch#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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ChatGPT OAuth users couldn't see gpt-5.4 or gpt-5.4-mini in the
/modelpicker on Telegram/Discord.Root cause:
_PROVIDER_MODELS['openai-codex']inhermes_cli/models.pywas never updated when gpt-5.4 became available. It only had the older codex-specific models (gpt-5.3-codex, gpt-5.2-codex, etc.). Meanwhile,codex_models.py'sDEFAULT_CODEX_MODELSalready included gpt-5.4 and gpt-5.4-mini.The
/modelinteractive picker (Telegram inline keyboards, Discord buttons) callslist_authenticated_providers()which pulls from the_PROVIDER_MODELScurated list — not fromcodex_models.py.Fix: Add
gpt-5.4andgpt-5.4-minito the top of the openai-codex curated list, matching whatcodex_models.pyalready has.Test plan
_PROVIDER_MODELS['openai-codex']now returns['gpt-5.4', 'gpt-5.4-mini', 'gpt-5.3-codex', ...]Reported by @chongdashu