Repository navigation
feat: export the Codex CLI's model catalog - #22
Merged
TheGreatAxios merged 2 commits intoSep 29, 2026
Merged
TheGreatAxios merged 2 commits into
TheGreatAxios merged 2 commits into
Conversation
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.
Adds
CODEX_DEFAULT_MODELS, the model ids a ChatGPT login can request, so a host's catalog can take them from this package instead of hard-coding them. It is the counterpart of@corbits/xai-provider'sXAI_DEFAULT_MODELS.The list is every model the Codex CLI's bundled catalog (
openai/codex@b1e72963c3,codex-rs/models-manager/models.json) marksvisibility: "list", sorted by itspriority. Hidden entries are left out: the twogpt-daybreak-*models andcodex-auto-review, which the catalog describes as the CLI's automatic approval-review model. The CLI uses that catalog when its live/codex/modelsfetch fails.Verification
bun run checkpasses: typecheck, lint, format and the 17 unit tests.gpt-5.6-sol,gpt-6-astraandgpt-6-solanswered. The rest are taken from the CLI's catalog and are not yet exercised against an account.Closes CL-9490