Skip to content

Commit 3875b40

Browse files
committed
feat(migration): auto-upgrade openai/gpt-5.4 to openai/gpt-5.5
Now that oracle, hephaestus, and the deep category ship gpt-5.5-native prompts and default to gpt-5.5 in their fallback chains, user configs that pin openai/gpt-5.4 should follow the same upgrade on next load. The existing migration pipeline (migrateModelVersions) picks this up automatically from MODEL_VERSION_MAP, records the upgrade in the sidecar file to stay idempotent, and leaves gpt-5.4-mini / -mini-fast / -nano alone since those cost-tier variants are intentional picks and do not have direct gpt-5.5 counterparts yet.
1 parent 3bab66b commit 3875b40

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/shared/migration/model-versions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export const MODEL_VERSION_MAP: Record<string, string> = {
1010
"anthropic/claude-opus-4-6": "anthropic/claude-opus-4-7",
1111
"anthropic/claude-sonnet-4-5": "anthropic/claude-sonnet-4-6",
1212
"openai/gpt-5.3-codex": "openai/gpt-5.4",
13+
"openai/gpt-5.4": "openai/gpt-5.5",
1314
}
1415

1516
function migrationKey(oldModel: string, newModel: string): string {

0 commit comments

Comments
 (0)