feat(codex): use spark as haiku in 5.3 preset

This commit is contained in:
Tam Nhu Tran
2026-02-14 06:48:23 +07:00
parent 41d99788da
commit aaaceb43e0
3 changed files with 24 additions and 2 deletions
+1 -1
View File
@@ -5,6 +5,6 @@
"ANTHROPIC_MODEL": "gpt-5.3-codex",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "gpt-5.3-codex",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "gpt-5.3-codex-high",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "gpt-5-mini"
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "gpt-5.3-codex-spark"
}
}
+11
View File
@@ -173,6 +173,17 @@ export const MODEL_CATALOG: Partial<Record<CLIProxyProvider, ProviderCatalog>> =
dynamicAllowed: false,
},
},
{
id: 'gpt-5.3-codex-spark',
name: 'GPT-5.3 Codex Spark',
description: 'Ultra-fast coding model',
thinking: {
type: 'levels',
levels: ['medium', 'high', 'xhigh'],
maxLevel: 'xhigh',
dynamicAllowed: false,
},
},
{
id: 'gpt-5.2-codex',
name: 'GPT-5.2 Codex',
+12 -1
View File
@@ -143,7 +143,18 @@ export const MODEL_CATALOGS: Record<string, ProviderCatalog> = {
default: 'gpt-5.3-codex',
opus: 'gpt-5.3-codex',
sonnet: 'gpt-5.3-codex-high',
haiku: 'gpt-5-mini',
haiku: 'gpt-5.3-codex-spark',
},
},
{
id: 'gpt-5.3-codex-spark',
name: 'GPT-5.3 Codex Spark',
description: 'Ultra-fast coding model',
presetMapping: {
default: 'gpt-5.3-codex-spark',
opus: 'gpt-5.3-codex',
sonnet: 'gpt-5.3-codex-high',
haiku: 'gpt-5.3-codex-spark',
},
},
{