chore: update cluade model name

This commit is contained in:
程序员阿江(Relakkes) 2026-04-18 17:52:55 +08:00
parent 6799e577b9
commit c444e439b3
2 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ export const mockPermissionModes = [
]
export const mockModels = [
{ id: 'opus', name: 'Opus 4.6', active: false },
{ id: 'opus', name: 'Opus 4.7', active: false },
{ id: 'sonnet', name: 'Sonnet 4.6', active: true },
{ id: 'haiku', name: 'Haiku 4.5', active: false },
]

View File

@ -14,7 +14,7 @@ import type {
// 与后端 src/server/api/models.ts 的 DEFAULT_MODEL 保持一致:
// 切回"官方"时把聊天页的 currentModel 重置到这个,避免残留第三方 provider
// 的 model id 在官方模型列表里找不到、ModelSelector 显示但不选中的状态。
const OFFICIAL_DEFAULT_MODEL_ID = 'claude-opus-4-6'
const OFFICIAL_DEFAULT_MODEL_ID = 'claude-opus-4-7'
type ProviderStore = {
providers: SavedProvider[]