chore(compute): remove Fable 5 and Haiku 4.5 presets (#95)

This commit is contained in:
2026-09-10 11:53:08 -04:00
committed by GitHub
parent 571b98e682
commit 064c561202
5 changed files with 11 additions and 232 deletions

View File

@@ -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',
])

View File

@@ -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"
}
}
}
]
}

View File

@@ -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"
]
}

View File

@@ -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"
]
}

View File

@@ -1,6 +1,6 @@
{
"version": "1.0.0",
"presetDataVersion": 110,
"updatedAt": "2026-09-06",
"presetDataVersion": 111,
"updatedAt": "2026-09-10",
"description": "DesireCore 官方配置中心"
}