mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-26 15:03:34 +08:00
chore: update cluade model name
This commit is contained in:
parent
6799e577b9
commit
c444e439b3
@ -146,7 +146,7 @@ export const mockPermissionModes = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
export const mockModels = [
|
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: 'sonnet', name: 'Sonnet 4.6', active: true },
|
||||||
{ id: 'haiku', name: 'Haiku 4.5', active: false },
|
{ id: 'haiku', name: 'Haiku 4.5', active: false },
|
||||||
]
|
]
|
||||||
|
|||||||
@ -14,7 +14,7 @@ import type {
|
|||||||
// 与后端 src/server/api/models.ts 的 DEFAULT_MODEL 保持一致:
|
// 与后端 src/server/api/models.ts 的 DEFAULT_MODEL 保持一致:
|
||||||
// 切回"官方"时把聊天页的 currentModel 重置到这个,避免残留第三方 provider
|
// 切回"官方"时把聊天页的 currentModel 重置到这个,避免残留第三方 provider
|
||||||
// 的 model id 在官方模型列表里找不到、ModelSelector 显示但不选中的状态。
|
// 的 model id 在官方模型列表里找不到、ModelSelector 显示但不选中的状态。
|
||||||
const OFFICIAL_DEFAULT_MODEL_ID = 'claude-opus-4-6'
|
const OFFICIAL_DEFAULT_MODEL_ID = 'claude-opus-4-7'
|
||||||
|
|
||||||
type ProviderStore = {
|
type ProviderStore = {
|
||||||
providers: SavedProvider[]
|
providers: SavedProvider[]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user