Files
config-center/compute/model-specs/xunfei.json
Johnson-LYS e84edec964 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 退役日期
2026-06-01 19:45:14 +08:00

35 lines
1.2 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"description": "讯飞星火系列模型规格。参数来源config-center compute/providers/xunfei.json。spark-x 为推理模型serviceType: reasoning。",
"specs": [
{
"id": "spark-x",
"displayName": "讯飞星火 X1",
"family": "spark-x",
"match": { "exact": ["spark-x"], "patterns": ["spark-x*"] },
"spec": {
"contextWindow": 65536,
"maxOutputTokens": 128000,
"capabilities": ["chat", "reasoning", "deep_thinking", "math", "code"],
"serviceType": ["reasoning"],
"defaultTemperature": 1.2,
"supportsReasoning": true,
"description": "讯飞深度推理模型64K 输入/128K 输出,支持思考模式与函数调用"
}
},
{
"id": "4.0Ultra",
"displayName": "讯飞星火 4.0 Ultra",
"family": "spark-4",
"match": { "exact": ["4.0Ultra"], "patterns": ["4.0Ultra*"] },
"spec": {
"contextWindow": 32768,
"maxOutputTokens": 32768,
"capabilities": ["chat", "reasoning", "code", "tool_use"],
"serviceType": ["chat"],
"defaultTemperature": 1,
"description": "讯飞星火最强通用模型,支持推理、代码和工具调用"
}
}
]
}