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": { "env": {
"ANTHROPIC_BASE_URL": "http://127.0.0.1:8317/api/provider/codex", "ANTHROPIC_BASE_URL": "http://127.0.0.1:8317/api/provider/codex",
"ANTHROPIC_AUTH_TOKEN": "ccs-internal-managed", "ANTHROPIC_AUTH_TOKEN": "ccs-internal-managed",
"ANTHROPIC_MODEL": "gpt-5.1-codex-max", "ANTHROPIC_MODEL": "gpt-5.3-codex",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "gpt-5.1-codex-max-high", "ANTHROPIC_DEFAULT_OPUS_MODEL": "gpt-5.3-codex",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "gpt-5.1-codex-max", "ANTHROPIC_DEFAULT_SONNET_MODEL": "gpt-5.3-codex",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "gpt-5.1-codex-mini-high" "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: { codex: {
provider: 'codex', provider: 'codex',
displayName: 'Copilot Codex', displayName: 'Copilot Codex',
defaultModel: 'gpt-5.2-codex', defaultModel: 'gpt-5.3-codex',
models: [ models: [
{ {
id: 'gpt-5.2-codex', id: 'gpt-5.3-codex',
name: 'GPT-5.2 Codex', name: 'GPT-5.3 Codex',
description: 'Full reasoning support (xhigh)', description: 'Full reasoning support (xhigh)',
thinking: { thinking: {
type: 'levels', type: 'levels',
+7 -7
View File
@@ -133,16 +133,16 @@ export const MODEL_CATALOGS: Record<string, ProviderCatalog> = {
codex: { codex: {
provider: 'codex', provider: 'codex',
displayName: 'Codex', displayName: 'Codex',
defaultModel: 'gpt-5.2-codex', defaultModel: 'gpt-5.3-codex',
models: [ models: [
{ {
id: 'gpt-5.2-codex', id: 'gpt-5.3-codex',
name: 'GPT-5.2 Codex', name: 'GPT-5.3 Codex',
description: 'Full reasoning support (xhigh)', description: 'Full reasoning support (xhigh)',
presetMapping: { presetMapping: {
default: 'gpt-5.2-codex', default: 'gpt-5.3-codex',
opus: 'gpt-5.2-codex', opus: 'gpt-5.3-codex',
sonnet: 'gpt-5.2-codex', sonnet: 'gpt-5.3-codex',
haiku: 'gpt-5-mini', haiku: 'gpt-5-mini',
}, },
}, },
@@ -152,7 +152,7 @@ export const MODEL_CATALOGS: Record<string, ProviderCatalog> = {
description: 'Fast, capped at high reasoning (no xhigh)', description: 'Fast, capped at high reasoning (no xhigh)',
presetMapping: { presetMapping: {
default: 'gpt-5-mini', default: 'gpt-5-mini',
opus: 'gpt-5.2-codex', opus: 'gpt-5.3-codex',
sonnet: 'gpt-5-mini', sonnet: 'gpt-5-mini',
haiku: 'gpt-5-mini', haiku: 'gpt-5-mini',
}, },