codex: 🐛 Resolve the small and medium tiers to gpt-5.6-luna - #6
Merged
Merged
Conversation
gpt-5.4-mini is rejected with a 400 on every call when codex is signed in with a ChatGPT account, so every small-tier call failed. gpt-5.6-luna runs under a ChatGPT sign-in and is marked supported_in_api in both the fetched and bundled codex model catalogs. Claude-Session: https://claude.ai/code/session_015yr73szXYEmbjtNVLxnetK Claude-Session-Id: 6da31262-6ad0-4073-8a1f-91de79650dd7
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
The codex
smallandmediumtiers resolved togpt-5.4-mini. On a codex CLI signed in with a ChatGPT account, every call to that model fails at once with:As a result, every captain-hook
llm_nudgerouted to codex'ssmalltier fails, including cc-skillsshow_skills.wall_of_textandgeneral.detours.Fix
small→gpt-5.6-luna:lowandmedium→gpt-5.6-luna:medium, changed in the core tier table (rust/spawnllm-core/src/route.rs) and the Python backend'sCodexCliBackend.models.largestaysgpt-5.5:medium. Thecodex-agentandcodex-effort-suffixplan vectors now use the same model name, so no vector names a model codex rejects.Model matrix
I ran each candidate through spawnllm's own
CodexCliBackendwith codex 0.154.0 signed in with a ChatGPT account, using a one-word prompt andmax_attempts=1:gpt-5.4-mini:low/:mediumsupported_in_apigpt-5.6-luna:low/:mediumsupported_in_apisupported_in_apigpt-5.6-terra:lowsupported_in_apisupported_in_apigpt-5.5:lowsupported_in_apisupported_in_apigpt-5.3-codex-spark:lowsupported_in_apigpt-reserve:low"Fetched catalog" is
~/.codex/models_cache.json, which codex downloads for the signed-in account. "Bundled catalog" is the model list compiled into the codex binary.gpt-5.6-lunais the one model both catalogs list and marksupported_in_apithat codex describes as "Fast and affordable", so it is the only candidate fit for both small tiers. No API key is available on this machine, so API-key auth rests on the catalog metadata, not a live call.Tests
tests/test_backends.py::TestModels::test_codexpins the new table. Against the oldcodex.pyit fails, and with the change it passes.capabilities.jsonregenerates with the new tiers, and the Go and Rust hosts replay it.https://claude.ai/code/session_015yr73szXYEmbjtNVLxnetK