From 78ed93f127042b176fdea11d7e12e942b2e31154 Mon Sep 17 00:00:00 2001 From: Yige Date: Sat, 8 Aug 2026 18:52:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(compute):=20Claude=20=E7=B3=BB=E5=88=97=20?= =?UTF-8?q?defaultEffort=20=E7=BB=9F=E4=B8=80=E4=B8=BA=20xhigh=EF=BC=8Cpre?= =?UTF-8?q?setDataVersion=20=E2=86=92=2087=20(#73)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Anthropic 对 Fable 5 / Opus 5 / Sonnet 5 的建议是编程与智能体场景用 xhigh (Claude Code 自身默认即 xhigh),而此前沿用的是 API 默认值 high。DesireCore 是智能体操作系统,主力场景就是编程与长程智能体任务,故对齐到 xhigh。 两个 Anthropic provider 的 fable-5 / opus-5 / sonnet-5 同步调整, extra.reasoning.defaultEffort 与顶层文档性 extra.defaultEffort 保持一致。 Haiku 4.5 不支持 effort 参数,无 reasoning 声明,不受影响。 注意:这会抬高默认 token 消耗;用户仍可在模型选择器按会话下调档位。 OpenAI Codex 的 per-model defaultEffort(low/medium/medium)是按模型分别调过的, 不属于本次对齐范围。 --- compute/providers/anthropic-claude.json | 6 +++--- compute/providers/anthropic.json | 10 +++++----- manifest.json | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/compute/providers/anthropic-claude.json b/compute/providers/anthropic-claude.json index f480fce..8c7e2fb 100644 --- a/compute/providers/anthropic-claude.json +++ b/compute/providers/anthropic-claude.json @@ -53,7 +53,7 @@ "xhigh", "max" ], - "defaultEffort": "high" + "defaultEffort": "xhigh" } }, "source": "preset" @@ -87,7 +87,7 @@ "xhigh", "max" ], - "defaultEffort": "high" + "defaultEffort": "xhigh" } }, "source": "preset" @@ -120,7 +120,7 @@ "xhigh", "max" ], - "defaultEffort": "high" + "defaultEffort": "xhigh" } }, "source": "preset" diff --git a/compute/providers/anthropic.json b/compute/providers/anthropic.json index 0a702f5..9250101 100644 --- a/compute/providers/anthropic.json +++ b/compute/providers/anthropic.json @@ -56,7 +56,7 @@ "xhigh", "max" ], - "defaultEffort": "high" + "defaultEffort": "xhigh" }, "samplingParametersDeprecated": true, "pricingNotes": "Prices are per 1M tokens. Full 1M context is billed at standard pricing." @@ -106,9 +106,9 @@ "xhigh", "max" ], - "defaultEffort": "high" + "defaultEffort": "xhigh" }, - "defaultEffort": "high", + "defaultEffort": "xhigh", "samplingParametersDeprecated": true, "pricingNotes": "Prices are per 1M tokens. Full 1M context is billed at standard pricing." } @@ -161,9 +161,9 @@ "xhigh", "max" ], - "defaultEffort": "high" + "defaultEffort": "xhigh" }, - "defaultEffort": "high", + "defaultEffort": "xhigh", "samplingParametersDeprecated": true } }, diff --git a/manifest.json b/manifest.json index 424ba1e..e9e9fc7 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "version": "1.0.0", - "presetDataVersion": 86, + "presetDataVersion": 87, "updatedAt": "2026-08-08", "description": "DesireCore 官方配置中心" }