mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-10-21 06:44:14 +08:00
新增 extra.thinkingToolTurnValidation(requires-thinking / accepts-thinkless),与 thinkingRoundTrip 并列(后者 additionalProperties:false,不能往里加字段)。 anthropic.json 与 anthropic-claude.json 的 Fable 5.1 / Opus 5 / Sonnet 5 声明 accepts-thinkless:官方 adaptive thinking 不要求工具轮以 thinking 开头,模型跳过思考的 工具轮原样回放即合法(mini 真机六轮验证全部 200)。客户端据此不再对这类响应重试、 不再降级为关闭思考。旧客户端忽略该字段,行为不变。 model-spec schema 的 spec.extra 同步禁止 thinkingRoundTrip 与 thinkingToolTurnValidation, 与客户端 Schema 一致,避免写错后新客户端整份拒收规格。 presetDataVersion 113 → 114。
159 lines
4.0 KiB
JSON
159 lines
4.0 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"
|
||
},
|
||
"thinkingOnByDefault": true,
|
||
"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,
|
||
"thinkingOnByDefault": 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"
|
||
]
|
||
}
|