From ea59c02709f637720bf507b74358fe4e079521e3 Mon Sep 17 00:00:00 2001 From: Yige Date: Mon, 14 Sep 2026 08:56:59 -0400 Subject: [PATCH] =?UTF-8?q?chore(compute):=20=E5=88=A0=E9=99=A4=E6=97=A0?= =?UTF-8?q?=E6=B6=88=E8=B4=B9=E8=80=85=E7=9A=84=20extra.thinkingOnByDefaul?= =?UTF-8?q?t=20(#100)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 客户端从未读取该字段: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。 --- compute/model-specs/anthropic.json | 1 - compute/providers/anthropic-claude.json | 2 -- compute/providers/anthropic.json | 2 -- manifest.json | 2 +- 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/compute/model-specs/anthropic.json b/compute/model-specs/anthropic.json index c894561..3457ca5 100644 --- a/compute/model-specs/anthropic.json +++ b/compute/model-specs/anthropic.json @@ -32,7 +32,6 @@ "description": "Claude Fable 5.1,面向高难推理和长程智能体任务,始终开启自适应思考", "extra": { "adaptiveThinking": true, - "thinkingOnByDefault": true, "thinkingOnly": true, "samplingParametersDeprecated": true, "forcedToolChoiceUnsupported": true diff --git a/compute/providers/anthropic-claude.json b/compute/providers/anthropic-claude.json index 3860592..8d4f3b8 100644 --- a/compute/providers/anthropic-claude.json +++ b/compute/providers/anthropic-claude.json @@ -55,7 +55,6 @@ ], "defaultEffort": "high" }, - "thinkingOnByDefault": true, "thinkingOnly": true, "thinkingRoundTrip": { "enabled": true, @@ -87,7 +86,6 @@ ], "extra": { "adaptiveThinking": true, - "thinkingOnByDefault": true, "reasoning": { "supportedEfforts": [ "low", diff --git a/compute/providers/anthropic.json b/compute/providers/anthropic.json index 4f0bbed..b9b6a48 100644 --- a/compute/providers/anthropic.json +++ b/compute/providers/anthropic.json @@ -68,7 +68,6 @@ "samplingParametersDeprecated": true, "forcedToolChoiceUnsupported": true, "pricingNotes": "Prices are per 1M tokens. Full 1M context is billed at standard pricing.", - "thinkingOnByDefault": true, "thinkingOnly": true } }, @@ -114,7 +113,6 @@ }, "promptCacheMinTokens": 512, "adaptiveThinking": true, - "thinkingOnByDefault": true, "reasoning": { "supportedEfforts": [ "low", diff --git a/manifest.json b/manifest.json index bfdc34a..841b112 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "version": "1.0.0", - "presetDataVersion": 118, + "presetDataVersion": 119, "updatedAt": "2026-09-14", "description": "DesireCore 官方配置中心" }