fix: align DeepSeek V4 model specs with official profile

Align the shared DeepSeek V4 Pro and Flash specifications with the official 1M context, 384K output, and high/max reasoning profile. Consolidate duplicate specs, add regression coverage, and bump presetDataVersion to 72.
This commit is contained in:
2026-07-10 11:47:40 +08:00
committed by GitHub
parent 6d7a3a70c3
commit 5a9b9c87c4
3 changed files with 51 additions and 19 deletions

View File

@@ -7,11 +7,17 @@
"family": "deepseek-v4",
"match": { "exact": ["deepseek-v4-pro"], "patterns": ["deepseek-v4-pro*"] },
"spec": {
"contextWindow": 1048576,
"contextWindow": 1000000,
"maxOutputTokens": 384000,
"capabilities": ["reasoning", "deep_thinking", "code", "math", "science", "multilingual", "tool_use"],
"serviceType": ["reasoning"],
"capabilities": ["chat", "reasoning", "deep_thinking", "code", "math", "science", "multilingual", "tool_use"],
"serviceType": ["chat", "reasoning"],
"defaultTemperature": 1,
"supportsReasoning": true,
"extra": {
"supportsThinking": true,
"thinkingDefault": true,
"reasoningEffort": ["high", "max"]
},
"description": "DeepSeek V4 Pro1.6T MoE 架构100 万上下文"
}
},
@@ -42,30 +48,23 @@
"supportsReasoning": true
}
},
{
"id": "deepseek-v4-pro",
"displayName": "DeepSeek V4 Pro",
"family": "deepseek-v4",
"spec": {
"contextWindow": 1000000,
"maxOutputTokens": 384000,
"capabilities": ["chat", "code", "reasoning", "deep_thinking", "multilingual", "tool_use", "math"],
"serviceType": ["chat", "reasoning"],
"defaultTemperature": 1,
"supportsReasoning": true
}
},
{
"id": "deepseek-v4-flash",
"displayName": "DeepSeek V4 Flash",
"family": "deepseek-v4",
"match": { "exact": ["deepseek-v4-flash"], "patterns": ["deepseek-v4-flash*"] },
"spec": {
"contextWindow": 1000000,
"maxOutputTokens": 384000,
"capabilities": ["chat", "code", "reasoning", "deep_thinking", "multilingual", "tool_use"],
"serviceType": ["chat", "reasoning"],
"defaultTemperature": 1,
"supportsReasoning": true
"supportsReasoning": true,
"extra": {
"supportsThinking": true,
"thinkingDefault": true,
"reasoningEffort": ["high", "max"]
}
}
}
]