feat(codex): add gpt-5.3 preset defaults

This commit is contained in:
Tam Nhu Tran
2026-02-14 06:14:19 +07:00
parent 6c2083949f
commit 7fddb63ab9
3 changed files with 14 additions and 14 deletions
+4 -4
View File
@@ -2,9 +2,9 @@
"env": {
"ANTHROPIC_BASE_URL": "http://127.0.0.1:8317/api/provider/codex",
"ANTHROPIC_AUTH_TOKEN": "ccs-internal-managed",
"ANTHROPIC_MODEL": "gpt-5.1-codex-max",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "gpt-5.1-codex-max-high",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "gpt-5.1-codex-max",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "gpt-5.1-codex-mini-high"
"ANTHROPIC_MODEL": "gpt-5.3-codex",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "gpt-5.3-codex",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "gpt-5.3-codex",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "gpt-5.3-codex"
}
}
+3 -3
View File
@@ -160,11 +160,11 @@ export const MODEL_CATALOG: Partial<Record<CLIProxyProvider, ProviderCatalog>> =
codex: {
provider: 'codex',
displayName: 'Copilot Codex',
defaultModel: 'gpt-5.2-codex',
defaultModel: 'gpt-5.3-codex',
models: [
{
id: 'gpt-5.2-codex',
name: 'GPT-5.2 Codex',
id: 'gpt-5.3-codex',
name: 'GPT-5.3 Codex',
description: 'Full reasoning support (xhigh)',
thinking: {
type: 'levels',
+7 -7
View File
@@ -133,16 +133,16 @@ export const MODEL_CATALOGS: Record<string, ProviderCatalog> = {
codex: {
provider: 'codex',
displayName: 'Codex',
defaultModel: 'gpt-5.2-codex',
defaultModel: 'gpt-5.3-codex',
models: [
{
id: 'gpt-5.2-codex',
name: 'GPT-5.2 Codex',
id: 'gpt-5.3-codex',
name: 'GPT-5.3 Codex',
description: 'Full reasoning support (xhigh)',
presetMapping: {
default: 'gpt-5.2-codex',
opus: 'gpt-5.2-codex',
sonnet: 'gpt-5.2-codex',
default: 'gpt-5.3-codex',
opus: 'gpt-5.3-codex',
sonnet: 'gpt-5.3-codex',
haiku: 'gpt-5-mini',
},
},
@@ -152,7 +152,7 @@ export const MODEL_CATALOGS: Record<string, ProviderCatalog> = {
description: 'Fast, capped at high reasoning (no xhigh)',
presetMapping: {
default: 'gpt-5-mini',
opus: 'gpt-5.2-codex',
opus: 'gpt-5.3-codex',
sonnet: 'gpt-5-mini',
haiku: 'gpt-5-mini',
},