Refresh stale Codex/Gemini model lists to current CLI lineup#155
Open
ryuhaneul wants to merge 1 commit into
Open
Refresh stale Codex/Gemini model lists to current CLI lineup#155ryuhaneul wants to merge 1 commit into
ryuhaneul wants to merge 1 commit into
Conversation
The RULES templates (deployed as CLAUDE.md/AGENTS.md/GEMINI.md), the
cron/webhook/agent tool help text, and the hardcoded discovery
fallbacks all listed Codex and Gemini models that no longer exist in
the current CLIs (e.g. gpt-5.2-codex, gpt-5.1-codex-mini,
gpt-5.1-codex-max, gemini-2.5-flash-lite, gemini-3-flash-preview).
Update them to the current lineup:
- Codex: gpt-5.5, gpt-5.4, gpt-5.4-mini, gpt-5.3-codex-spark
- Gemini: gemini-2.5-pro, gemini-2.5-flash, gemini-3-pro-preview,
gemini-3.1-pro-preview, gemini-3.1-flash-lite, gemini-3.5-flash
Also:
- Remove the obsolete per-model reasoning-effort caveat
("gpt-5.1-codex-mini only supports medium/high") since all current
Codex models support low/medium/high/xhigh.
- Refresh the _FALLBACK_CODEX_MODELS / _FALLBACK_GEMINI_MODELS lists in
codex_cache.py / gemini_cache.py so the discovery fallback no longer
offers nonexistent models.
Already-valid example values (e.g. gpt-5.4, gemini-2.5-pro) are left
unchanged; only stale references are updated.
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.
What
The RULES templates deployed as
CLAUDE.md/AGENTS.md/GEMINI.md(under
config,cron_tasks,cron_tools,webhook_tools,agent_tools),the tool
--helptext, and the hardcoded discovery fallbacks(
_FALLBACK_CODEX_MODELS,_FALLBACK_GEMINI_MODELS) all list Codex andGemini models that no longer exist in the current CLIs — e.g.
gpt-5.2-codex,gpt-5.3-codex,gpt-5.1-codex-max,gpt-5.1-codex-mini,gemini-2.5-flash-lite,gemini-3-flash-preview.Changes
Update them to the current lineup (as exposed by the Codex/Gemini CLIs via
model discovery):
gpt-5.5,gpt-5.4,gpt-5.4-mini,gpt-5.3-codex-sparkgemini-2.5-pro,gemini-2.5-flash,gemini-3-pro-preview,gemini-3.1-pro-preview,gemini-3.1-flash-lite,gemini-3.5-flashAlso:
(
gpt-5.1-codex-mini"medium/high only") — all current Codex modelssupport
low/medium/high/xhigh.gemini-2.5-flash-liteexamples to its lite-tiersuccessor
gemini-3.1-flash-lite._FALLBACK_CODEX_MODELS/_FALLBACK_GEMINI_MODELSso thediscovery fallback no longer offers nonexistent models.
Already-valid example values (e.g.
gpt-5.4,gemini-2.5-pro) are leftunchanged; only stale references are updated. Documentation + fallback
contents only — no logic changes.