mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-02-06 02:51:07 +08:00
feat:add baichuan-m3-plus model (#12567)
Co-authored-by: roberto <roberto@baichuan-inc.com>
This commit is contained in:
parent
0d3f0f20fd
commit
b34bd9cd1b
@ -743,6 +743,12 @@ export const SYSTEM_MODELS: Record<SystemProviderId | 'defaultModel', Model[]> =
|
||||
provider: 'baichuan',
|
||||
name: 'Baichuan M3',
|
||||
group: 'Baichuan-M3'
|
||||
},
|
||||
{
|
||||
id: 'Baichuan-M3-Plus',
|
||||
provider: 'baichuan',
|
||||
name: 'Baichuan M3 Plus',
|
||||
group: 'Baichuan-M3'
|
||||
}
|
||||
],
|
||||
modelscope: [
|
||||
|
||||
@ -646,8 +646,8 @@ export const isBaichuanReasoningModel = (model?: Model): boolean => {
|
||||
}
|
||||
const modelId = getLowerBaseModelName(model.id, '/')
|
||||
|
||||
// Baichuan-M2 和 Baichuan-M3 是推理模型(注意:M2-Plus 不是推理模型)
|
||||
return (modelId.includes('baichuan-m2') && !modelId.includes('plus')) || modelId.includes('baichuan-m3')
|
||||
// Baichuan-M2 和 Baichuan-M3 是推理模型
|
||||
return modelId === 'baichuan-m2' || modelId === 'baichuan-m3'
|
||||
}
|
||||
|
||||
export function isReasoningModel(model?: Model): boolean {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user