From 3875b40c172042d4d1a3d8bbeeb29ea1853b1d9e Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Fri, 24 Apr 2026 13:13:14 +0900 Subject: [PATCH] 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. --- src/shared/migration/model-versions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/migration/model-versions.ts b/src/shared/migration/model-versions.ts index 40aee07b3..c529513c9 100644 --- a/src/shared/migration/model-versions.ts +++ b/src/shared/migration/model-versions.ts @@ -10,6 +10,7 @@ export const MODEL_VERSION_MAP: Record = { "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-7", "anthropic/claude-sonnet-4-5": "anthropic/claude-sonnet-4-6", "openai/gpt-5.3-codex": "openai/gpt-5.4", + "openai/gpt-5.4": "openai/gpt-5.5", } function migrationKey(oldModel: string, newModel: string): string {