Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/changed-codex-catalog-0165.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Codex model fallback refreshed to the 0.165.0 catalog: `gpt-6.1-sol` (the CLI's current default) and the new `gpt-6.1-terra` appear in the dashboard's codex model picker when the live `codex app-server` probe cannot run, instead of the stale 0.159.0 snapshot that lacked both
4 changes: 2 additions & 2 deletions src/pkg/dashboard/cli_model_lists_9804_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ func TestIssue9804ModelListRefresh(t *testing.T) {
mustAbsent: []string{"gemini-3-pro-preview", "gemini-2.5-pro"},
},
{
name: "codex fallback matches pinned 0.159.0 snapshot",
name: "codex fallback matches the 0.165.0 snapshot",
models: codexStaticModels,
htmlConst: "CODEX_CLI_MODELS",
mustHave: []string{"gpt-6-astra", "gpt-6-sol", "gpt-6-luna"},
mustHave: []string{"gpt-6.1-sol", "gpt-6.1-terra", "gpt-6-astra", "gpt-6-sol", "gpt-6-luna"},
mustAbsent: []string{"gpt-5.4"},
},
{
Expand Down
20 changes: 12 additions & 8 deletions src/pkg/dashboard/cli_models.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,23 +406,27 @@ var bobStaticModels = []string{bobAutoModel}
// models — Claude ids are rejected with a ChatGPT account ("model is not
// supported when using Codex with a ChatGPT account"), so codex must never
// fall through to the copilot list. The catalog is baked into the CLI binary
// (per-CLI-version, not per-account); this snapshot matches codex 0.159.0
// (captured 2026-09-30 from a live `codex app-server` model/list exchange
// against the pinned 0.159.0 binary, #9804): visible ids in picker order
// (astra is the default; GPT-6 Sol and Luna arrived in 0.156.1, #8417), then
// the hidden ids — hidden entries are still valid --model values (see
// orderCodexServedModels). gpt-5.2 and gpt-5.4-mini were retired from the
// catalog in 0.155.0; gpt-5.4 was retired between 0.156.1 and 0.159.0.
// (per-CLI-version, not per-account); this snapshot matches codex 0.165.0
// (captured 2026-10-27 from a live `codex app-server` model/list exchange
// against the 0.165.0 binary; the 0.159.0 capture was #9804): visible ids in
// picker order (GPT-6.1 Sol is the default and has been since at least
// 0.160.0; GPT-6.1 Terra arrived in 0.165.0; GPT-6 Sol and Luna arrived in
// 0.156.1, #8417), then the hidden ids — hidden entries are still valid
// --model values (see orderCodexServedModels). gpt-5.2 and gpt-5.4-mini were
// retired from the catalog in 0.155.0; gpt-5.4 was retired between 0.156.1
// and 0.159.0.
// Keep in sync with CODEX_CLI_MODELS in static/index.html.
var codexStaticModels = []string{
"gpt-6.1-sol",
"gpt-6-astra",
"gpt-6-sol",
"gpt-6-luna",
"gpt-5.6-sol",
"gpt-6.1-terra",
"gpt-5.6-terra",
"gpt-5.6-luna",
"gpt-5.5",
// Hidden in the 0.159.0 picker but still valid --model values.
// Hidden in the 0.165.0 picker but still valid --model values.
"gpt-daybreak-blue-latest",
"gpt-daybreak-red-latest",
"codex-auto-review",
Expand Down
15 changes: 9 additions & 6 deletions src/pkg/dashboard/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24051,18 +24051,21 @@ <h2 class="config-title" id="activity-monitor-labels-title">All labels</h2>
// using Codex with a ChatGPT account"), so codex must NOT fall through to
// the copilot list. The server discovers the live catalog via
// `codex app-server` model/list (per-CLI-version, baked into the binary);
// this is only the pre-discovery fallback. Snapshot of codex 0.159.0
// (live model/list capture, 2026-09-30, #9804): visible ids in picker
// order (astra is the default; GPT-6 Sol and Luna arrived in 0.156.1,
// #8417), then hidden ids — hidden entries are still valid --model
// values. gpt-5.2 and gpt-5.4-mini were retired in 0.155.0; gpt-5.4 was
// retired between 0.156.1 and 0.159.0.
// this is only the pre-discovery fallback. Snapshot of codex 0.165.0
// (live model/list capture, 2026-10-27; the 0.159.0 capture was #9804):
// visible ids in picker order (GPT-6.1 Sol is the default; GPT-6.1 Terra
// arrived in 0.165.0; GPT-6 Sol and Luna arrived in 0.156.1, #8417), then
// hidden ids — hidden entries are still valid --model values. gpt-5.2 and
// gpt-5.4-mini were retired in 0.155.0; gpt-5.4 was retired between
// 0.156.1 and 0.159.0.
// Keep in sync with codexStaticModels in cli_models.go.
const CODEX_CLI_MODELS = [
{ value: 'gpt-6.1-sol', label: 'GPT-6.1 Sol' },
{ value: 'gpt-6-astra', label: 'GPT-6 Astra' },
{ value: 'gpt-6-sol', label: 'GPT-6 Sol' },
{ value: 'gpt-6-luna', label: 'GPT-6 Luna' },
{ value: 'gpt-5.6-sol', label: 'GPT-5.6 Sol' },
{ value: 'gpt-6.1-terra', label: 'GPT-6.1 Terra' },
{ value: 'gpt-5.6-terra', label: 'GPT-5.6 Terra' },
{ value: 'gpt-5.6-luna', label: 'GPT-5.6 Luna' },
{ value: 'gpt-5.5', label: 'GPT-5.5' },
Expand Down
Loading