mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Remove retired model entries while preserving migration prompts (#44250)
## Why Saved model selections can outlive their bundled catalog entries and still need migration guidance. ## What changed - Remove `gpt-5.2` and `gpt-5.4-mini` from the bundled model catalog. - Preserve migration from saved `gpt-5.4-mini` selections to `gpt-5.6-luna` when the old model is absent, while respecting catalog-provided migration metadata. - Update tests and snapshots to use current models or explicit test fixtures, and remove the obsolete prompt fixture. ## Testing Extend migration tests to cover catalog metadata precedence, saved selections, replacement model and reasoning-effort persistence, acknowledged prompts, and missing or hidden migration targets. GitOrigin-RevId: 82beea504cc4a15699677c28a61ec0939af3069c
This commit is contained in:
1 parent
6eecd04fc1
commit
eb7bd64ef9
58 files changed
+670
-1192
No files matched your search
+1
-1
@@ -10,4 +10,4 @@ expression: normalize_snapshot_paths(rendered)
|
||||
|
||||
› Ask Codex to do anything
|
||||
|
||||
gpt-5.2 medium · /tmp/project
|
||||
gpt-5.6-terra medium · /tmp/project
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
---
|
||||
source: tui/src/app/tests/backend_banner_fallback_tests.rs
|
||||
assertion_line: 124
|
||||
expression: "notices[0]"
|
||||
---
|
||||
• Automatically switched to gpt-5.2 medium due to usage limits.
|
||||
• Automatically switched to gpt-5.6-terra medium due to usage limits.
|
||||
+2
-3
@@ -1,8 +1,7 @@
|
||||
---
|
||||
source: tui/src/app/tests/backend_banner_fallback_tests.rs
|
||||
assertion_line: 234
|
||||
expression: rendered
|
||||
expression: normalize_snapshot_paths(rendered)
|
||||
---
|
||||
› Ask Codex to do anything
|
||||
|
||||
gpt-5.4 default · /tmp/project
|
||||
gpt-5.5 default · /tmp/project
|
||||
+1
-1
@@ -2,4 +2,4 @@
|
||||
source: tui/src/app/tests/luna_reserve_recovery_tests.rs
|
||||
expression: notice
|
||||
---
|
||||
• Automatically switched back to gpt-5.4 high because ordinary usage is available again.
|
||||
• Automatically switched back to gpt-5.5 high because ordinary usage is available again.
|
||||
+2
-3
@@ -1,11 +1,10 @@
|
||||
---
|
||||
source: tui/src/app/tests/model_defaults_tests.rs
|
||||
assertion_line: 91
|
||||
expression: messages
|
||||
---
|
||||
⚠ Saved default model and reasoning effort, but a higher-priority configuration
|
||||
layer overrides the saved value.
|
||||
• Model changed to gpt-5.4 high
|
||||
• Model changed to gpt-5.5 high
|
||||
⚠ Saved Plan mode reasoning effort, but a higher-priority configuration layer
|
||||
overrides the saved value.
|
||||
⚠ Saved default service tier, but a higher-priority configuration layer
|
||||
@@ -13,4 +12,4 @@ expression: messages
|
||||
• Service tier set to priority
|
||||
⚠ Saved default model and reasoning effort, but a higher-priority configuration
|
||||
layer overrides the saved value.
|
||||
• Model changed to gpt-5.4 ultra for this conversation
|
||||
• Model changed to gpt-5.5 ultra for this conversation
|
||||
Reference in new issue
Block a user