feat(model-specs): 新增模型规格库——跨 provider 模型参数统一维护(presetDataVersion 54→58)

* feat(model-specs): 新增模型规格库与 schema 契约

- compute/model-specs/:按厂商维护模型内在参数(上下文窗口/最大输出/能力/serviceType/默认温度,不含价签)
- schemas/model-spec.schema.json:Draft-07 契约,spec 允许 null(新文件不影响老客户端 frozen 契约)
- scripts/validate.mjs:pickSchemaKey 纳入 model-specs 校验
- manifest.presetDataVersion 54→55

* feat(model-specs): 新增小米 MiMo 系列模型规格;bump presetDataVersion 55→56

* feat(model-specs): 补全全量模型规格;presetDataVersion 56→57

* feat(model-specs): 新增 releasedAt/retiredAt 时间戳字段;补充 mimo 退役日期
This commit is contained in:
Johnson-LYS
2026-06-01 19:45:14 +08:00
committed by GitHub
parent 9633df0219
commit e84edec964
25 changed files with 2668 additions and 2 deletions

View File

@@ -0,0 +1,44 @@
{
"description": "Mistral 系列模型规格。参数来源config-center compute/providers/mistral.json。",
"specs": [
{
"id": "mistral-large-latest",
"displayName": "Mistral Large",
"family": "mistral-large",
"match": { "patterns": ["mistral-large*"] },
"spec": {
"contextWindow": 256000,
"maxOutputTokens": 262144,
"capabilities": ["chat", "reasoning", "code", "vision", "tool_use", "long_context"],
"serviceType": ["chat"],
"defaultTemperature": 0.7
}
},
{
"id": "mistral-small-latest",
"displayName": "Mistral Small",
"family": "mistral-small",
"match": { "patterns": ["mistral-small*"] },
"spec": {
"contextWindow": 128000,
"maxOutputTokens": 8192,
"capabilities": ["chat", "code", "vision", "reasoning", "fast", "tool_use"],
"serviceType": ["fast"],
"defaultTemperature": 0.7
}
},
{
"id": "codestral-latest",
"displayName": "Codestral",
"family": "codestral",
"match": { "patterns": ["codestral*"] },
"spec": {
"contextWindow": 128000,
"maxOutputTokens": 32768,
"capabilities": ["code", "fill_in_the_middle"],
"serviceType": ["chat"],
"defaultTemperature": 0.7
}
}
]
}