diff --git a/__tests__/validate.test.mjs b/__tests__/validate.test.mjs index 5f1bc98..13ff368 100644 --- a/__tests__/validate.test.mjs +++ b/__tests__/validate.test.mjs @@ -105,7 +105,7 @@ describe('真实数据全量校验', () => { if (spec.routing) routed.push(spec) } } - assert.equal(routed.length, 49) + assert.equal(routed.length, 47) assert.equal(routed.every((spec) => spec.routing.reasoning.supportedModes.includes(spec.routing.reasoning.defaultMode)), true) assert.equal(routed.every((spec) => Array.isArray(spec.spec.capabilities)), true) }) @@ -152,7 +152,6 @@ describe('真实数据全量校验', () => { assert.deepEqual(enabled(anthropic), [ 'claude-fable-5-1', - 'claude-fable-5', 'claude-opus-5', 'claude-sonnet-5', ]) diff --git a/compute/model-specs/anthropic.json b/compute/model-specs/anthropic.json index 002fd92..00886dc 100644 --- a/compute/model-specs/anthropic.json +++ b/compute/model-specs/anthropic.json @@ -54,54 +54,6 @@ } } }, - { - "id": "claude-fable-5", - "displayName": "Claude Fable 5", - "family": "claude-fable", - "match": { - "exact": [ - "claude-fable-5" - ], - "patterns": [ - "claude-fable-5*" - ] - }, - "spec": { - "contextWindow": 1000000, - "maxOutputTokens": 128000, - "capabilities": [ - "chat", - "reasoning", - "deep_thinking", - "code", - "vision", - "tool_use", - "long_context" - ], - "serviceType": [ - "chat" - ], - "supportsReasoning": true, - "description": "Anthropic 最强模型,基于 Mythos 架构,支持自主知识工作" - }, - "routing": { - "tier": "flagship", - "routingPriority": 20, - "eligibleForAgent": true, - "defaultReference": false, - "reasoning": { - "supportedModes": [ - "auto", - "low", - "medium", - "high", - "xhigh", - "max" - ], - "defaultMode": "xhigh" - } - } - }, { "id": "claude-opus-5", "displayName": "Claude Opus 5", @@ -300,45 +252,6 @@ "supportsReasoning": true, "description": "Anthropic 主力模型,长文本与代码任务表现优异" } - }, - { - "id": "claude-haiku-4-5", - "displayName": "Claude Haiku 4.5", - "family": "claude-haiku", - "match": { - "patterns": [ - "claude-haiku-4-5*" - ] - }, - "spec": { - "contextWindow": 200000, - "maxOutputTokens": 64000, - "capabilities": [ - "chat", - "reasoning", - "code", - "vision", - "tool_use" - ], - "serviceType": [ - "chat" - ], - "defaultTemperature": 1, - "supportsReasoning": true, - "description": "Anthropic 最快模型,具备接近前沿模型的智能水平" - }, - "routing": { - "tier": "lightweight", - "routingPriority": 20, - "eligibleForAgent": true, - "defaultReference": false, - "reasoning": { - "supportedModes": [ - "auto" - ], - "defaultMode": "auto" - } - } } ] } diff --git a/compute/providers/anthropic-claude.json b/compute/providers/anthropic-claude.json index 4d93651..dde7860 100644 --- a/compute/providers/anthropic-claude.json +++ b/compute/providers/anthropic-claude.json @@ -60,39 +60,6 @@ }, "source": "preset" }, - { - "modelName": "claude-fable-5", - "displayName": "Claude Fable 5", - "serviceType": [ - "chat" - ], - "description": "Claude 订阅额度计费,Anthropic 最高能力公开模型,面向长程智能体与高难推理,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": "xhigh" - } - }, - "source": "preset" - }, { "modelName": "claude-opus-5", "displayName": "Claude Opus 5", @@ -159,26 +126,12 @@ } }, "source": "preset" - }, - { - "modelName": "claude-haiku-4-5", - "displayName": "Claude Haiku 4.5", - "serviceType": [ - "chat" - ], - "description": "Claude 订阅额度计费,最快模型,具备接近前沿模型的智能水平,200K 上下文", - "contextWindow": 200000, - "maxOutputTokens": 64000, - "capabilities": [ - "chat", - "code", - "vision", - "tool_use" - ], - "source": "preset" } ], "tombstones": [ - "claude-opus-4-8" + "claude-opus-4-8", + "claude-fable-5", + "claude-haiku-4-5", + "claude-haiku-4-5-20251001" ] } diff --git a/compute/providers/anthropic.json b/compute/providers/anthropic.json index 62303c2..2b82288 100644 --- a/compute/providers/anthropic.json +++ b/compute/providers/anthropic.json @@ -64,60 +64,6 @@ "thinkingOnly": true } }, - { - "modelName": "claude-fable-5", - "displayName": "Claude Fable 5", - "serviceType": [ - "chat" - ], - "description": "Anthropic 最高能力公开模型,面向长程智能体和高难推理任务", - "contextWindow": 1000000, - "maxOutputTokens": 128000, - "capabilities": [ - "chat", - "reasoning", - "code", - "vision", - "tool_use", - "agent", - "long_context" - ], - "inputPrice": 10, - "outputPrice": 50, - "extra": { - "thinkingRoundTrip": { - "enabled": true, - "protocol": "anthropic-messages", - "allowEmptySignature": false, - "scope": "active-tool-turn" - }, - "serverSideWebSearch": { - "enabled": true, - "dialect": "anthropic-messages", - "fallbackPriority": 1, - "searchRequestPriceUsd": 0.01, - "toolType": "web_search_20260318" - }, - "cachePricing": { - "write5m": 12.5, - "write1h": 20, - "read": 1 - }, - "adaptiveThinking": true, - "reasoning": { - "supportedEfforts": [ - "low", - "medium", - "high", - "xhigh", - "max" - ], - "defaultEffort": "xhigh" - }, - "samplingParametersDeprecated": true, - "pricingNotes": "Prices are per 1M tokens. Full 1M context is billed at standard pricing." - } - }, { "modelName": "claude-opus-5", "displayName": "Claude Opus 5", @@ -234,46 +180,14 @@ "defaultEffort": "xhigh", "samplingParametersDeprecated": true } - }, - { - "modelName": "claude-haiku-4-5", - "displayName": "Claude Haiku 4.5", - "serviceType": [ - "chat" - ], - "description": "Anthropic 最快模型,具备接近前沿模型的智能水平", - "contextWindow": 200000, - "maxOutputTokens": 64000, - "capabilities": [ - "chat", - "reasoning", - "code", - "vision", - "tool_use" - ], - "inputPrice": 1, - "outputPrice": 5, - "defaultTemperature": 1, - "extra": { - "thinkingRoundTrip": { - "enabled": true, - "protocol": "anthropic-messages", - "allowEmptySignature": false, - "scope": "active-tool-turn" - }, - "modelId": "claude-haiku-4-5-20251001", - "cachePricing": { - "write5m": 1.25, - "write1h": 2, - "read": 0.1 - }, - "pricingNotes": "Prices are per 1M tokens." - } } ], "tombstones": [ "claude-opus-4-8", "claude-opus-4-7", - "claude-sonnet-4-6" + "claude-sonnet-4-6", + "claude-fable-5", + "claude-haiku-4-5", + "claude-haiku-4-5-20251001" ] } diff --git a/manifest.json b/manifest.json index 19ebb0b..b911f49 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "version": "1.0.0", - "presetDataVersion": 110, - "updatedAt": "2026-09-06", + "presetDataVersion": 111, + "updatedAt": "2026-09-10", "description": "DesireCore 官方配置中心" }