feat:add baichuan-m3-plus model (#12567)

Co-authored-by: roberto <roberto@baichuan-inc.com>
This commit is contained in:
pippo 2026-01-23 14:19:50 +08:00 committed by GitHub
parent 0d3f0f20fd
commit b34bd9cd1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View File

@ -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: [

View File

@ -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 {