mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-09-05 17:53:41 +08:00
feat(compute): 重新发布 Claude 订阅 provider(anthropic-claude),presetDataVersion → 84 (#70)
#47/#48/#49 曾因 credentialSource 硬 enum 毒丸老客户端而被 #50 回滚。毒丸根因已由 客户端 desirecore#1021 系统性修复(credentialSource 改开放 string + 合并 salvage + 能力门控降级),claude-oauth 检测器与 SDK 网关由 desirecore#1008 提供, requiredClientVersion 运行时门槛由 desirecore#1038 提供,三者同在 v10.0.83 发布。 本次重新发布相较 #47 的变化: - 声明 requiredClientVersion = 10.0.83,低版本客户端优雅门控为「需更新客户端」 - displayName 去掉冗余 (订阅) 后缀,对齐 #58 的 Codex 命名约定 - 文件名 anthropic-claude.json 与 _index.json basename 一致(#48 的修正一并纳入)
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
"openai",
|
||||
"openai-codex",
|
||||
"anthropic",
|
||||
"anthropic-claude",
|
||||
"deepseek",
|
||||
"dashscope",
|
||||
"volcengine",
|
||||
|
||||
106
compute/providers/anthropic-claude.json
Normal file
106
compute/providers/anthropic-claude.json
Normal file
@@ -0,0 +1,106 @@
|
||||
{
|
||||
"id": "provider-anthropic-claude-plan-001",
|
||||
"provider": "anthropic-claude",
|
||||
"brandGroup": "anthropic",
|
||||
"label": "Claude 订阅 (Claude Code)",
|
||||
"baseUrl": "https://api.anthropic.com",
|
||||
"apiFormat": "anthropic-messages",
|
||||
"apiKeyRef": "anthropic-claude-oauth-token",
|
||||
"apiKeyVerified": false,
|
||||
"enabled": false,
|
||||
"status": "unconfigured",
|
||||
"priceCurrency": "USD",
|
||||
"accessMode": "coding-plan",
|
||||
"credentialSource": "claude-oauth",
|
||||
"requiredClientVersion": "10.0.83",
|
||||
"codingPlan": {
|
||||
"quotas": {},
|
||||
"usageTracking": {
|
||||
"method": "none",
|
||||
"consoleUrl": "https://claude.ai/settings/usage"
|
||||
}
|
||||
},
|
||||
"services": [
|
||||
"chat",
|
||||
"reasoning"
|
||||
],
|
||||
"models": [
|
||||
{
|
||||
"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"
|
||||
],
|
||||
"source": "preset"
|
||||
},
|
||||
{
|
||||
"modelName": "claude-opus-4-8",
|
||||
"displayName": "Claude Opus 4.8",
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"description": "Claude 订阅额度计费,Opus 级复杂智能体编码与企业任务模型,1M 上下文",
|
||||
"contextWindow": 1000000,
|
||||
"maxOutputTokens": 128000,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"code",
|
||||
"vision",
|
||||
"tool_use",
|
||||
"agent",
|
||||
"long_context"
|
||||
],
|
||||
"source": "preset"
|
||||
},
|
||||
{
|
||||
"modelName": "claude-sonnet-5",
|
||||
"displayName": "Claude Sonnet 5",
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"description": "Claude 订阅额度计费,速度与智能平衡模型,支持长上下文智能体任务",
|
||||
"contextWindow": 1000000,
|
||||
"maxOutputTokens": 128000,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"code",
|
||||
"vision",
|
||||
"tool_use",
|
||||
"agent",
|
||||
"long_context"
|
||||
],
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user