From c7ae82bba06f8f097f3bea79ddc31bccddd95a2c Mon Sep 17 00:00:00 2001 From: Andrew Anderson Date: Tue, 27 Oct 2026 20:48:57 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=B1=20dashboard:=20refresh=20codex=20s?= =?UTF-8?q?tatic=20model=20catalog=20to=200.165.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Captured live from `codex app-server` model/list against the 0.165.0 binary (same exchange cli_models_codex.go performs). Diff against the 0.159.0 snapshot: adds gpt-6.1-sol (visible, isDefault, present since at least 0.160.0) and gpt-6.1-terra (visible, new in 0.165.0). Hidden ids unchanged. index.html mirror and the #9804 parity test updated. Signed-off-by: Andrew Anderson --- changelog.d/changed-codex-catalog-0165.md | 1 + .../dashboard/cli_model_lists_9804_test.go | 4 ++-- src/pkg/dashboard/cli_models.go | 20 +++++++++++-------- src/pkg/dashboard/static/index.html | 15 ++++++++------ 4 files changed, 24 insertions(+), 16 deletions(-) create mode 100644 changelog.d/changed-codex-catalog-0165.md diff --git a/changelog.d/changed-codex-catalog-0165.md b/changelog.d/changed-codex-catalog-0165.md new file mode 100644 index 0000000000..2e2141b409 --- /dev/null +++ b/changelog.d/changed-codex-catalog-0165.md @@ -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 diff --git a/src/pkg/dashboard/cli_model_lists_9804_test.go b/src/pkg/dashboard/cli_model_lists_9804_test.go index d07daee00d..b794c37bf9 100644 --- a/src/pkg/dashboard/cli_model_lists_9804_test.go +++ b/src/pkg/dashboard/cli_model_lists_9804_test.go @@ -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"}, }, { diff --git a/src/pkg/dashboard/cli_models.go b/src/pkg/dashboard/cli_models.go index 0799c91159..81f4c7c868 100644 --- a/src/pkg/dashboard/cli_models.go +++ b/src/pkg/dashboard/cli_models.go @@ -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", diff --git a/src/pkg/dashboard/static/index.html b/src/pkg/dashboard/static/index.html index 80f8c20a32..e96bcfbcd1 100644 --- a/src/pkg/dashboard/static/index.html +++ b/src/pkg/dashboard/static/index.html @@ -24051,18 +24051,21 @@

All labels

// 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' },