mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-10-21 02:24:36 +08:00
客户端从未读取该字段:DesireCore 主仓的代码与 Schema 都没有引用它。「省略 thinking 时 上游是否默认思考」由主仓 thinking-profiles.ts 的 Anthropic 代际表判定(desirecore#2944)。 数据本身也不一致:Fable 5.1 / Opus 5 有该字段,同样默认 adaptive 的 Sonnet 5 却缺失, 保留下去容易被误当成可以调整行为的开关。 删除 model-specs/anthropic.json 1 处,providers/anthropic.json 与 anthropic-claude.json 各 2 处。extra 是开放对象,本仓与客户端 Schema 都未声明该字段,删除不影响任何校验; 客户端合并预设不回传字段删除,存量 compute.json 里残留的该字段依旧无人读取,无害。 presetDataVersion 118 → 119。
157 lines
3.9 KiB
JSON
157 lines
3.9 KiB
JSON
{
|
||
"id": "provider-anthropic-claude-plan-001",
|
||
"provider": "anthropic-claude",
|
||
"brandGroup": "anthropic",
|
||
"label": "Claude 订阅 (Claude Code)",
|
||
"baseUrl": "https://api.anthropic.com",
|
||
"apiFormat": "anthropic-messages",
|
||
"apiKeyRef": "anthropic-claude-oauth-token",
|
||
"apiKeyVerified": false,
|
||
"enabled": false,
|
||
"status": "unconfigured",
|
||
"priceCurrency": "USD",
|
||
"accessMode": "coding-plan",
|
||
"credentialSource": "claude-oauth",
|
||
"requiredClientVersion": "10.0.83",
|
||
"codingPlan": {
|
||
"quotas": {},
|
||
"usageTracking": {
|
||
"method": "none",
|
||
"consoleUrl": "https://claude.ai/settings/usage"
|
||
}
|
||
},
|
||
"services": [
|
||
"chat",
|
||
"reasoning"
|
||
],
|
||
"models": [
|
||
{
|
||
"modelName": "claude-fable-5-1",
|
||
"displayName": "Claude Fable 5.1",
|
||
"serviceType": [
|
||
"chat"
|
||
],
|
||
"description": "Claude 订阅额度计费,面向高难推理和长程智能体任务,1M 上下文,始终开启自适应思考",
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"vision",
|
||
"tool_use",
|
||
"agent",
|
||
"long_context"
|
||
],
|
||
"extra": {
|
||
"adaptiveThinking": true,
|
||
"reasoning": {
|
||
"supportedEfforts": [
|
||
"low",
|
||
"medium",
|
||
"high",
|
||
"xhigh",
|
||
"max"
|
||
],
|
||
"defaultEffort": "high"
|
||
},
|
||
"thinkingOnly": true,
|
||
"thinkingRoundTrip": {
|
||
"enabled": true,
|
||
"protocol": "anthropic-messages",
|
||
"allowEmptySignature": false,
|
||
"scope": "active-tool-turn"
|
||
},
|
||
"thinkingToolTurnValidation": "accepts-thinkless"
|
||
},
|
||
"source": "preset"
|
||
},
|
||
{
|
||
"modelName": "claude-opus-5",
|
||
"displayName": "Claude Opus 5",
|
||
"serviceType": [
|
||
"chat"
|
||
],
|
||
"description": "Claude 订阅额度计费,Opus 系列当前旗舰,复杂智能体编码与长程任务首选,1M 上下文",
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"vision",
|
||
"tool_use",
|
||
"agent",
|
||
"long_context"
|
||
],
|
||
"extra": {
|
||
"adaptiveThinking": true,
|
||
"reasoning": {
|
||
"supportedEfforts": [
|
||
"low",
|
||
"medium",
|
||
"high",
|
||
"xhigh",
|
||
"max"
|
||
],
|
||
"defaultEffort": "xhigh"
|
||
},
|
||
"thinkingRoundTrip": {
|
||
"enabled": true,
|
||
"protocol": "anthropic-messages",
|
||
"allowEmptySignature": false,
|
||
"scope": "active-tool-turn"
|
||
},
|
||
"thinkingToolTurnValidation": "accepts-thinkless"
|
||
},
|
||
"source": "preset"
|
||
},
|
||
{
|
||
"modelName": "claude-sonnet-5",
|
||
"displayName": "Claude Sonnet 5",
|
||
"serviceType": [
|
||
"chat"
|
||
],
|
||
"description": "Claude 订阅额度计费,速度与智能平衡模型,支持长上下文智能体任务",
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"vision",
|
||
"tool_use",
|
||
"agent",
|
||
"long_context"
|
||
],
|
||
"extra": {
|
||
"adaptiveThinking": true,
|
||
"reasoning": {
|
||
"supportedEfforts": [
|
||
"low",
|
||
"medium",
|
||
"high",
|
||
"xhigh",
|
||
"max"
|
||
],
|
||
"defaultEffort": "xhigh"
|
||
},
|
||
"thinkingRoundTrip": {
|
||
"enabled": true,
|
||
"protocol": "anthropic-messages",
|
||
"allowEmptySignature": false,
|
||
"scope": "active-tool-turn"
|
||
},
|
||
"thinkingToolTurnValidation": "accepts-thinkless"
|
||
},
|
||
"source": "preset"
|
||
}
|
||
],
|
||
"tombstones": [
|
||
"claude-opus-4-8",
|
||
"claude-fable-5",
|
||
"claude-haiku-4-5",
|
||
"claude-haiku-4-5-20251001"
|
||
]
|
||
}
|