From 9e6dc2bce0276e7c37ade7eeb247377a0b59ad38 Mon Sep 17 00:00:00 2001 From: Yige Date: Sat, 12 Sep 2026 15:25:56 -0400 Subject: [PATCH] =?UTF-8?q?feat(compute):=20Claude=20=E8=AE=A2=E9=98=85?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E5=A3=B0=E6=98=8E=20thinking=20=E5=9B=9E?= =?UTF-8?q?=E6=94=BE=E8=83=BD=E5=8A=9B=20(#96)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 与 anthropic.json(API Key 版)同款 thinkingRoundTrip(active-tool-turn)。 DesireCore ADR-161 把 Claude 订阅改为无状态传输后,开启 thinking 的工具续接 只能由请求携带本工具轮的已签名 thinking;在客户端删除按身份排除的逻辑之前, 此声明不改变任何行为。presetDataVersion 111 → 112。 --- compute/providers/anthropic-claude.json | 20 +++++++++++++++++++- manifest.json | 4 ++-- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/compute/providers/anthropic-claude.json b/compute/providers/anthropic-claude.json index dde7860..8ff03dd 100644 --- a/compute/providers/anthropic-claude.json +++ b/compute/providers/anthropic-claude.json @@ -56,7 +56,13 @@ "defaultEffort": "high" }, "thinkingOnByDefault": true, - "thinkingOnly": true + "thinkingOnly": true, + "thinkingRoundTrip": { + "enabled": true, + "protocol": "anthropic-messages", + "allowEmptySignature": false, + "scope": "active-tool-turn" + } }, "source": "preset" }, @@ -90,6 +96,12 @@ "max" ], "defaultEffort": "xhigh" + }, + "thinkingRoundTrip": { + "enabled": true, + "protocol": "anthropic-messages", + "allowEmptySignature": false, + "scope": "active-tool-turn" } }, "source": "preset" @@ -123,6 +135,12 @@ "max" ], "defaultEffort": "xhigh" + }, + "thinkingRoundTrip": { + "enabled": true, + "protocol": "anthropic-messages", + "allowEmptySignature": false, + "scope": "active-tool-turn" } }, "source": "preset" diff --git a/manifest.json b/manifest.json index b911f49..6d45022 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "version": "1.0.0", - "presetDataVersion": 111, - "updatedAt": "2026-09-10", + "presetDataVersion": 112, + "updatedAt": "2026-09-12", "description": "DesireCore 官方配置中心" }