mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-06-06 07:10:54 +08:00
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:
85
compute/model-specs/google.json
Normal file
85
compute/model-specs/google.json
Normal file
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"description": "Google Gemini 系列模型规格。参数来源:config-center compute/providers/google.json。",
|
||||
"specs": [
|
||||
{
|
||||
"id": "gemini-3.1-pro-preview",
|
||||
"displayName": "Gemini 3.1 Pro",
|
||||
"family": "gemini-3.1",
|
||||
"spec": {
|
||||
"contextWindow": 1048576,
|
||||
"maxOutputTokens": 65536,
|
||||
"capabilities": ["chat", "reasoning", "code", "vision", "ultra_long_context", "tool_use"],
|
||||
"serviceType": ["chat"],
|
||||
"defaultTemperature": 1,
|
||||
"supportsReasoning": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "gemini-3-flash-preview",
|
||||
"displayName": "Gemini 3 Flash",
|
||||
"family": "gemini-3",
|
||||
"spec": {
|
||||
"contextWindow": 1048576,
|
||||
"maxOutputTokens": 65536,
|
||||
"capabilities": ["chat", "reasoning", "code", "vision", "ultra_long_context", "tool_use", "fast"],
|
||||
"serviceType": ["chat"],
|
||||
"defaultTemperature": 1,
|
||||
"supportsReasoning": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "gemini-2.5-pro",
|
||||
"displayName": "Gemini 2.5 Pro",
|
||||
"family": "gemini-2.5",
|
||||
"match": { "patterns": ["gemini-2.5-pro*"] },
|
||||
"spec": {
|
||||
"contextWindow": 1048576,
|
||||
"maxOutputTokens": 65536,
|
||||
"capabilities": ["chat", "reasoning", "code", "vision", "ultra_long_context", "tool_use"],
|
||||
"serviceType": ["chat"],
|
||||
"defaultTemperature": 1,
|
||||
"supportsReasoning": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "gemini-2.5-flash",
|
||||
"displayName": "Gemini 2.5 Flash",
|
||||
"family": "gemini-2.5",
|
||||
"match": { "patterns": ["gemini-2.5-flash*"] },
|
||||
"spec": {
|
||||
"contextWindow": 1048576,
|
||||
"maxOutputTokens": 65536,
|
||||
"capabilities": ["chat", "reasoning", "code", "vision", "ultra_long_context", "tool_use", "fast"],
|
||||
"serviceType": ["chat"],
|
||||
"defaultTemperature": 1,
|
||||
"supportsReasoning": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "gemini-3.1-flash-lite-preview",
|
||||
"displayName": "Gemini 3.1 Flash-Lite Preview",
|
||||
"family": "gemini-3.1",
|
||||
"match": { "exact": ["gemini-3.1-flash-lite-preview"], "patterns": ["gemini-3.1-flash-lite*"] },
|
||||
"spec": {
|
||||
"contextWindow": 1048576,
|
||||
"maxOutputTokens": 65536,
|
||||
"capabilities": ["chat", "reasoning", "code", "vision", "ultra_long_context", "tool_use", "fast"],
|
||||
"serviceType": ["fast"],
|
||||
"defaultTemperature": 1,
|
||||
"description": "Google Gemini 3.1 Flash-Lite Preview,低成本高吞吐多模态模型"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "text-embedding-005",
|
||||
"displayName": "Text Embedding 005",
|
||||
"family": "text-embedding",
|
||||
"match": { "exact": ["text-embedding-005"] },
|
||||
"spec": {
|
||||
"contextWindow": 2048,
|
||||
"capabilities": ["text_embedding", "semantic_search"],
|
||||
"serviceType": ["embedding"],
|
||||
"description": "Google 文本嵌入模型,768 维度"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user