mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-10-21 05:24:25 +08:00
fix(compute): 为 Anthropic adaptive 代际模型规格补齐 adaptiveThinking 声明 (#102)
Opus 5 / Sonnet 5 / Opus 4.8 / Opus 4.7 规格补 spec.extra.adaptiveThinking;各版本规格 family 收窄为自身版本,新增同名 claude-opus / claude-sonnet 家族规格承接兜底,防止声明泄漏给 Opus 4.5 等旧型号;schema 声明 adaptiveThinking 并写明匹配键约束;测试约束代际声明与 id/exact/pattern/family 不变式;presetDataVersion 115 → 116。
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
{
|
||||
"id": "claude-opus-5",
|
||||
"displayName": "Claude Opus 5",
|
||||
"family": "claude-opus",
|
||||
"family": "claude-opus-5",
|
||||
"match": {
|
||||
"patterns": [
|
||||
"claude-opus-5*"
|
||||
@@ -78,7 +78,10 @@
|
||||
"chat"
|
||||
],
|
||||
"supportsReasoning": true,
|
||||
"description": "Claude Opus 5,Anthropic Opus 系列当前旗舰;思考默认开启,effort 支持到 max"
|
||||
"description": "Claude Opus 5,Anthropic Opus 系列当前旗舰;思考默认开启,effort 支持到 max",
|
||||
"extra": {
|
||||
"adaptiveThinking": true
|
||||
}
|
||||
},
|
||||
"routing": {
|
||||
"tier": "flagship",
|
||||
@@ -101,7 +104,7 @@
|
||||
{
|
||||
"id": "claude-opus-4-8",
|
||||
"displayName": "Claude Opus 4.8",
|
||||
"family": "claude-opus",
|
||||
"family": "claude-opus-4-8",
|
||||
"match": {
|
||||
"patterns": [
|
||||
"claude-opus-4-8*"
|
||||
@@ -122,13 +125,16 @@
|
||||
"chat"
|
||||
],
|
||||
"supportsReasoning": true,
|
||||
"description": "Claude Opus 4.8,Anthropic Opus 系列最新旗舰"
|
||||
"description": "Claude Opus 4.8,Anthropic Opus 系列最新旗舰",
|
||||
"extra": {
|
||||
"adaptiveThinking": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "claude-opus-4-7",
|
||||
"displayName": "Claude Opus 4.7",
|
||||
"family": "claude-opus",
|
||||
"family": "claude-opus-4-7",
|
||||
"match": {
|
||||
"patterns": [
|
||||
"claude-opus-4-7*"
|
||||
@@ -149,13 +155,36 @@
|
||||
],
|
||||
"defaultTemperature": 1,
|
||||
"supportsReasoning": true,
|
||||
"description": "Anthropic 当前最强通用模型,适合复杂推理和智能体编码任务"
|
||||
"description": "Anthropic 当前最强通用模型,适合复杂推理和智能体编码任务",
|
||||
"extra": {
|
||||
"adaptiveThinking": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "claude-opus",
|
||||
"family": "claude-opus",
|
||||
"spec": {
|
||||
"contextWindow": 1000000,
|
||||
"maxOutputTokens": 128000,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"code",
|
||||
"vision",
|
||||
"tool_use",
|
||||
"long_context"
|
||||
],
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"supportsReasoning": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "claude-sonnet-5",
|
||||
"displayName": "Claude Sonnet 5",
|
||||
"family": "claude-sonnet",
|
||||
"family": "claude-sonnet-5",
|
||||
"match": {
|
||||
"patterns": [
|
||||
"claude-sonnet-5*"
|
||||
@@ -177,7 +206,10 @@
|
||||
"chat"
|
||||
],
|
||||
"supportsReasoning": true,
|
||||
"description": "Claude Sonnet 5,速度与智能平衡;思考默认开启,effort 支持到 max"
|
||||
"description": "Claude Sonnet 5,速度与智能平衡;思考默认开启,effort 支持到 max",
|
||||
"extra": {
|
||||
"adaptiveThinking": true
|
||||
}
|
||||
},
|
||||
"routing": {
|
||||
"tier": "balanced",
|
||||
@@ -200,7 +232,7 @@
|
||||
{
|
||||
"id": "claude-sonnet-4-6",
|
||||
"displayName": "Claude Sonnet 4.6",
|
||||
"family": "claude-sonnet",
|
||||
"family": "claude-sonnet-4-6",
|
||||
"match": {
|
||||
"patterns": [
|
||||
"claude-sonnet-4-6*"
|
||||
@@ -229,7 +261,7 @@
|
||||
{
|
||||
"id": "claude-sonnet-4-5",
|
||||
"displayName": "Claude Sonnet 4.5",
|
||||
"family": "claude-sonnet",
|
||||
"family": "claude-sonnet-4-5",
|
||||
"match": {
|
||||
"patterns": [
|
||||
"claude-sonnet-4-5*"
|
||||
@@ -252,6 +284,27 @@
|
||||
"supportsReasoning": true,
|
||||
"description": "Anthropic 主力模型,长文本与代码任务表现优异"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "claude-sonnet",
|
||||
"family": "claude-sonnet",
|
||||
"spec": {
|
||||
"contextWindow": 1000000,
|
||||
"maxOutputTokens": 128000,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"code",
|
||||
"vision",
|
||||
"tool_use",
|
||||
"computer_use",
|
||||
"long_context"
|
||||
],
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"supportsReasoning": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user