fix(migration): remove non-existent gpt-5.3-codex from MODEL_VERSION_MAP

Fixes #1804, fixes #1962

The migration entry 'gpt-5.2-codex → gpt-5.3-codex' caused the plugin to silently overwrite user configs on every startup with a model that doesn't exist in the OpenAI API. Users explicitly setting gpt-5.2-codex (the correct current model) were forced to revert their config manually every session.
This commit is contained in:
YeonGyu-Kim
2026-02-21 02:22:45 +09:00
parent 032d7fd139
commit 67c2cfddf4
2 changed files with 38 additions and 39 deletions
-1
View File
@@ -6,7 +6,6 @@
* Keys are full "provider/model" strings. Only openai and anthropic entries needed.
*/
export const MODEL_VERSION_MAP: Record<string, string> = {
"openai/gpt-5.2-codex": "openai/gpt-5.3-codex",
"anthropic/claude-opus-4-5": "anthropic/claude-opus-4-6",
"anthropic/claude-sonnet-4-5": "anthropic/claude-sonnet-4-6",
}