mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-13 12:14:19 +00:00
fix(ui): sync codex model catalog defaults
This commit is contained in:
1 parent
9fac214051
commit
2114a4b96e
1 file changed
+71
-29
@@ -111,45 +111,56 @@ export const MODEL_CATALOGS: Record<string, ProviderCatalog> = {
|
|||||||
codex: {
|
codex: {
|
||||||
provider: 'codex',
|
provider: 'codex',
|
||||||
displayName: 'Codex',
|
displayName: 'Codex',
|
||||||
defaultModel: 'gpt-5.3-codex',
|
defaultModel: 'gpt-5-codex',
|
||||||
models: [
|
models: [
|
||||||
{
|
{
|
||||||
id: 'gpt-5.3-codex',
|
id: 'gpt-5-codex',
|
||||||
name: 'GPT-5.3 Codex',
|
name: 'GPT-5 Codex',
|
||||||
description: 'Supports up to xhigh effort',
|
description: 'Cross-plan safe Codex default',
|
||||||
presetMapping: {
|
presetMapping: {
|
||||||
default: 'gpt-5.3-codex',
|
default: 'gpt-5-codex',
|
||||||
opus: 'gpt-5.3-codex',
|
opus: 'gpt-5-codex',
|
||||||
sonnet: 'gpt-5.3-codex',
|
sonnet: 'gpt-5-codex',
|
||||||
haiku: 'gpt-5.1-codex-mini',
|
haiku: 'gpt-5-codex-mini',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'gpt-5.2-codex',
|
id: 'gpt-5-codex-mini',
|
||||||
name: 'GPT-5.2 Codex',
|
name: 'GPT-5 Codex Mini',
|
||||||
description: 'Previous stable Codex model',
|
description: 'Faster and cheaper Codex option',
|
||||||
presetMapping: {
|
presetMapping: {
|
||||||
default: 'gpt-5.2-codex',
|
default: 'gpt-5-codex-mini',
|
||||||
opus: 'gpt-5.2-codex',
|
opus: 'gpt-5-codex',
|
||||||
sonnet: 'gpt-5.2-codex',
|
sonnet: 'gpt-5-codex',
|
||||||
haiku: 'gpt-5.1-codex-mini',
|
haiku: 'gpt-5-codex-mini',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'gpt-5-mini',
|
id: 'gpt-5-mini',
|
||||||
name: 'GPT-5 Mini',
|
name: 'GPT-5 Mini',
|
||||||
description: 'Fast, capped at high effort (no xhigh)',
|
description: 'Legacy mini model ID kept for backwards compatibility',
|
||||||
presetMapping: {
|
presetMapping: {
|
||||||
default: 'gpt-5-mini',
|
default: 'gpt-5-mini',
|
||||||
opus: 'gpt-5.3-codex',
|
opus: 'gpt-5-codex',
|
||||||
sonnet: 'gpt-5-mini',
|
sonnet: 'gpt-5-mini',
|
||||||
haiku: 'gpt-5-mini',
|
haiku: 'gpt-5-mini',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: 'gpt-5.1-codex-mini',
|
||||||
|
name: 'GPT-5.1 Codex Mini',
|
||||||
|
description: 'Legacy fast Codex mini model',
|
||||||
|
presetMapping: {
|
||||||
|
default: 'gpt-5.1-codex-mini',
|
||||||
|
opus: 'gpt-5.1-codex-max',
|
||||||
|
sonnet: 'gpt-5.1-codex-max',
|
||||||
|
haiku: 'gpt-5.1-codex-mini',
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: 'gpt-5.1-codex-max',
|
id: 'gpt-5.1-codex-max',
|
||||||
name: 'Codex Max (5.1)',
|
name: 'GPT-5.1 Codex Max',
|
||||||
description: 'Legacy most capable Codex model',
|
description: 'Higher-effort Codex model with xhigh support',
|
||||||
presetMapping: {
|
presetMapping: {
|
||||||
default: 'gpt-5.1-codex-max',
|
default: 'gpt-5.1-codex-max',
|
||||||
opus: 'gpt-5.1-codex-max',
|
opus: 'gpt-5.1-codex-max',
|
||||||
@@ -158,20 +169,51 @@ export const MODEL_CATALOGS: Record<string, ProviderCatalog> = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'gpt-5.2',
|
id: 'gpt-5.2-codex',
|
||||||
name: 'GPT 5.2',
|
name: 'GPT-5.2 Codex',
|
||||||
description: 'Latest GPT model',
|
description: 'Cross-plan Codex model with xhigh support',
|
||||||
presetMapping: {
|
presetMapping: {
|
||||||
default: 'gpt-5.2',
|
default: 'gpt-5.2-codex',
|
||||||
opus: 'gpt-5.2',
|
opus: 'gpt-5.2-codex',
|
||||||
sonnet: 'gpt-5.2',
|
sonnet: 'gpt-5.2-codex',
|
||||||
haiku: 'gpt-5.2',
|
haiku: 'gpt-5-codex-mini',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'gpt-5.1-codex-mini',
|
id: 'gpt-5.3-codex',
|
||||||
name: 'Codex Mini',
|
name: 'GPT-5.3 Codex',
|
||||||
description: 'Fast and efficient Codex model',
|
tier: 'paid',
|
||||||
|
description: 'Paid Codex plans only',
|
||||||
|
presetMapping: {
|
||||||
|
default: 'gpt-5.3-codex',
|
||||||
|
opus: 'gpt-5.3-codex',
|
||||||
|
sonnet: 'gpt-5.3-codex',
|
||||||
|
haiku: 'gpt-5-codex-mini',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 'gpt-5.3-codex-spark',
|
||||||
|
name: 'GPT-5.3 Codex Spark',
|
||||||
|
tier: 'paid',
|
||||||
|
description: 'Paid Codex plans only, ultra-fast coding model',
|
||||||
|
presetMapping: {
|
||||||
|
default: 'gpt-5.3-codex-spark',
|
||||||
|
opus: 'gpt-5.3-codex',
|
||||||
|
sonnet: 'gpt-5.3-codex',
|
||||||
|
haiku: 'gpt-5-codex-mini',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 'gpt-5.4',
|
||||||
|
name: 'GPT-5.4',
|
||||||
|
tier: 'paid',
|
||||||
|
description: 'Paid Codex plans only, latest GPT-5 family model',
|
||||||
|
presetMapping: {
|
||||||
|
default: 'gpt-5.4',
|
||||||
|
opus: 'gpt-5.4',
|
||||||
|
sonnet: 'gpt-5.4',
|
||||||
|
haiku: 'gpt-5-codex-mini',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user