mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-02 10:19:37 +00:00
feat(codex): add gpt-5.3 preset defaults
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
@@ -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',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user