mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-07-23 04:33:20 +08:00
fix(compute): rename anthropic-claude provider file to match _index basename (#48)
provider-loader loads <basename>.json from _index order; the file must be anthropic-claude.json (was anthropic-claude-plan.json) or it is not loaded.
This commit is contained in:
105
compute/providers/anthropic-claude.json
Normal file
105
compute/providers/anthropic-claude.json
Normal file
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"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",
|
||||
"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