fix(cliproxy): prevent agy model reset and add sonnet 4.6 models

This commit is contained in:
Tam Nhu Tran committed 2026-02-25 00:12:49 +07:00
1 parent 1dae52014b
commit bebb7582cf
10 files changed
+224 -53

No files matched your search

+26 -4
View File
@@ -22,8 +22,8 @@ export const MODEL_CATALOGS: Record<string, ProviderCatalog> = {
presetMapping: {
default: 'claude-opus-4-6-thinking',
opus: 'claude-opus-4-6-thinking',
sonnet: 'claude-sonnet-4-5-thinking',
haiku: 'claude-sonnet-4-5',
sonnet: 'claude-sonnet-4-6-thinking',
haiku: 'claude-sonnet-4-6',
},
},
{
@@ -33,8 +33,30 @@ export const MODEL_CATALOGS: Record<string, ProviderCatalog> = {
presetMapping: {
default: 'claude-opus-4-5-thinking',
opus: 'claude-opus-4-5-thinking',
sonnet: 'claude-sonnet-4-5-thinking',
haiku: 'claude-sonnet-4-5',
sonnet: 'claude-sonnet-4-6-thinking',
haiku: 'claude-sonnet-4-6',
},
},
{
id: 'claude-sonnet-4-6-thinking',
name: 'Claude Sonnet 4.6 Thinking',
description: 'Latest Sonnet with extended thinking',
presetMapping: {
default: 'claude-sonnet-4-6-thinking',
opus: 'claude-opus-4-6-thinking',
sonnet: 'claude-sonnet-4-6-thinking',
haiku: 'claude-sonnet-4-6',
},
},
{
id: 'claude-sonnet-4-6',
name: 'Claude Sonnet 4.6',
description: 'Latest Sonnet baseline',
presetMapping: {
default: 'claude-sonnet-4-6',
opus: 'claude-opus-4-6-thinking',
sonnet: 'claude-sonnet-4-6',
haiku: 'claude-sonnet-4-6',
},
},
{