fix: update Sonnet model label from 4.5 to 4.6

- src/app/api/providers/models/route.ts: updated DEFAULT_MODELS and
  OpenRouter provider mapping from "Sonnet 4.5" to "Sonnet 4.6"
- src/components/chat/MessageInput.tsx: updated DEFAULT_MODEL_OPTIONS
  fallback label from "Sonnet 4.5" to "Sonnet 4.6"
This commit is contained in:
7418 committed 2026-02-24 17:14:44 +08:00
1 parent c7c3ba5302
commit 979e1b1973
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -117,7 +117,7 @@ const MODE_OPTIONS: ModeOption[] = [
// Default Claude model options — used as fallback when API is unavailable
const DEFAULT_MODEL_OPTIONS = [
{ value: 'sonnet', label: 'Sonnet 4.5' },
{ value: 'sonnet', label: 'Sonnet 4.6' },
{ value: 'opus', label: 'Opus 4.6' },
{ value: 'haiku', label: 'Haiku 4.5' },
];