chore(compute): 删除无消费者的 extra.thinkingOnByDefault (#100)

客户端从未读取该字段: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。
This commit is contained in:
2026-09-14 08:56:59 -04:00
committed by GitHub
parent f3bf4e092c
commit ea59c02709
4 changed files with 1 additions and 6 deletions

View File

@@ -32,7 +32,6 @@
"description": "Claude Fable 5.1,面向高难推理和长程智能体任务,始终开启自适应思考", "description": "Claude Fable 5.1,面向高难推理和长程智能体任务,始终开启自适应思考",
"extra": { "extra": {
"adaptiveThinking": true, "adaptiveThinking": true,
"thinkingOnByDefault": true,
"thinkingOnly": true, "thinkingOnly": true,
"samplingParametersDeprecated": true, "samplingParametersDeprecated": true,
"forcedToolChoiceUnsupported": true "forcedToolChoiceUnsupported": true

View File

@@ -55,7 +55,6 @@
], ],
"defaultEffort": "high" "defaultEffort": "high"
}, },
"thinkingOnByDefault": true,
"thinkingOnly": true, "thinkingOnly": true,
"thinkingRoundTrip": { "thinkingRoundTrip": {
"enabled": true, "enabled": true,
@@ -87,7 +86,6 @@
], ],
"extra": { "extra": {
"adaptiveThinking": true, "adaptiveThinking": true,
"thinkingOnByDefault": true,
"reasoning": { "reasoning": {
"supportedEfforts": [ "supportedEfforts": [
"low", "low",

View File

@@ -68,7 +68,6 @@
"samplingParametersDeprecated": true, "samplingParametersDeprecated": true,
"forcedToolChoiceUnsupported": true, "forcedToolChoiceUnsupported": true,
"pricingNotes": "Prices are per 1M tokens. Full 1M context is billed at standard pricing.", "pricingNotes": "Prices are per 1M tokens. Full 1M context is billed at standard pricing.",
"thinkingOnByDefault": true,
"thinkingOnly": true "thinkingOnly": true
} }
}, },
@@ -114,7 +113,6 @@
}, },
"promptCacheMinTokens": 512, "promptCacheMinTokens": 512,
"adaptiveThinking": true, "adaptiveThinking": true,
"thinkingOnByDefault": true,
"reasoning": { "reasoning": {
"supportedEfforts": [ "supportedEfforts": [
"low", "low",

View File

@@ -1,6 +1,6 @@
{ {
"version": "1.0.0", "version": "1.0.0",
"presetDataVersion": 118, "presetDataVersion": 119,
"updatedAt": "2026-09-14", "updatedAt": "2026-09-14",
"description": "DesireCore 官方配置中心" "description": "DesireCore 官方配置中心"
} }