mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-07-23 02:33:21 +08:00
fix(compute): match MiMo V2.5 ASR exactly (#61)
Co-authored-by: DesireCore CI <ci@desirecore.test>
This commit is contained in:
@@ -135,6 +135,16 @@ describe('真实数据全量校验', () => {
|
||||
}
|
||||
})
|
||||
|
||||
it('MiMo V2.5 ASR 应有独立精确规格,避免回落到 MiMo V2.5 family', () => {
|
||||
const specFile = JSON.parse(readFileSync(join(ROOT, 'compute', 'model-specs', 'xiaomi.json'), 'utf8'))
|
||||
const specs = specFile.specs.filter((item) => item.id === 'mimo-v2.5-asr')
|
||||
|
||||
assert.equal(specs.length, 1, 'mimo-v2.5-asr 应且仅应有一条规格')
|
||||
assert.deepEqual(specs[0].match.exact, ['mimo-v2.5-asr'])
|
||||
assert.deepEqual(specs[0].spec.serviceType, ['asr'])
|
||||
assert.ok(specs[0].spec.capabilities.includes('asr'))
|
||||
})
|
||||
|
||||
it('所有 Provider 应按供应商归属计价,模型来源不覆盖供应商币种', () => {
|
||||
const expectedCurrencies = {
|
||||
anthropic: 'USD',
|
||||
|
||||
@@ -169,6 +169,26 @@
|
||||
"description": "小米 MiMo 语音合成,支持多语言与风格控制"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "mimo-v2.5-asr",
|
||||
"displayName": "MiMo V2.5 ASR",
|
||||
"family": "mimo-v2.5-asr",
|
||||
"match": {
|
||||
"exact": [
|
||||
"mimo-v2.5-asr"
|
||||
]
|
||||
},
|
||||
"spec": {
|
||||
"capabilities": [
|
||||
"asr",
|
||||
"multilingual"
|
||||
],
|
||||
"serviceType": [
|
||||
"asr"
|
||||
],
|
||||
"description": "小米 MiMo 语音识别模型"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "mimo-v2.5-tts-voiceclone",
|
||||
"displayName": "MiMo V2.5 TTS Voice Clone",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"presetDataVersion": 77,
|
||||
"updatedAt": "2026-07-19",
|
||||
"presetDataVersion": 78,
|
||||
"updatedAt": "2026-07-20",
|
||||
"description": "DesireCore 官方配置中心"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user