mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-03 11:01:22 +08:00
feat(presets): add ClaudeAPI provider presets
Add ClaudeAPI as a new partner provider with support for: - Claude Code preset (using ANTHROPIC_AUTH_TOKEN field) - Claude Desktop preset (direct mode with passthrough routes) - Icon configuration (ClaudeApi.png) - i18n support (zh/en/ja) with test credit promotion ClaudeAPI provides official Anthropic API keys and AWS Bedrock routing with support for Tool Use and 1M context.
This commit is contained in:
@@ -72,6 +72,12 @@ export const iconMetadata: Record<string, IconMetadata> = {
|
||||
keywords: ["anthropic"],
|
||||
defaultColor: "#D4915D",
|
||||
},
|
||||
claudeapi: {
|
||||
name: "claudeapi",
|
||||
displayName: "ClaudeAPI",
|
||||
category: "ai-provider",
|
||||
keywords: ["claudeapi", "claude", "anthropic", "bedrock"],
|
||||
},
|
||||
cloudflare: {
|
||||
name: "cloudflare",
|
||||
displayName: "Cloudflare",
|
||||
|
||||
Reference in New Issue
Block a user