Repository navigation
Mirror Codex's current model catalog in its defaults #85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -285,14 +285,19 @@ func (CodexHarness) StateEnv(dir string) []string { | |
| } | ||
|
|
||
| func (CodexHarness) DefaultModels() []ModelDefault { | ||
| // IDs mirror Codex's built-in model catalog. The Codex-tuned model comes | ||
| // first because that is the CLI's default when --model is absent. | ||
| // IDs mirror the listed models in Codex 0.169.0's bundled catalog, in its | ||
| // priority order, except GPT-5.5, which Codex rejects for ChatGPT logins. | ||
| // GPT-6.1 Sol comes first because that is the CLI's default when --model is | ||
| // absent. The GPT-6 models require Codex 0.153.0 or later. | ||
| return []ModelDefault{ | ||
| {Name: "GPT-5.3 Codex", ID: modelGPT53CodexID, Tier: modelTierHigh}, | ||
| {Name: "GPT-5.4 mini", ID: modelGPT54MiniID, Tier: modelTierMid}, | ||
| {Name: "GPT-5.4", ID: modelGPT54ID}, | ||
| {Name: "GPT-5.5", ID: modelGPT55ID, Tier: modelTierMax}, | ||
| {Name: "GPT-5.2", ID: "gpt-5.2"}, | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Copilot's defaults have no |
||
| {Name: "GPT-6.1 Sol", ID: "gpt-6.1-sol", Tier: modelTierHigh}, | ||
| {Name: "GPT-6 Astra", ID: "gpt-6-astra", Tier: modelTierMax}, | ||
| {Name: "GPT-6 Sol", ID: "gpt-6-sol"}, | ||
| {Name: "GPT-6 Luna", ID: "gpt-6-luna"}, | ||
| {Name: "GPT-5.6 Sol", ID: modelGPT56SolID}, | ||
| {Name: "GPT-6.1 Terra", ID: "gpt-6.1-terra", Tier: modelTierMid}, | ||
| {Name: "GPT-5.6 Terra", ID: modelGPT56TerraID}, | ||
| {Name: "GPT-5.6 Luna", ID: modelGPT56LunaID}, | ||
| } | ||
| } | ||
|
|
||
|
|
||
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The bundled catalog sets
minimal_client_versionto0.153.0for the three tiered models and0.155.0forgpt-6-solandgpt-6-luna, while thecodexLinecomment names Codex0.147.0as the verified version. I haven't checked how an older CLI handles--model gpt-6.1-sol, so you might note the0.153.0floor here for callers that pin Codex.