mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-30 02:14:43 +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:
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
@@ -1,6 +1,7 @@
|
||||
// Auto-generated icon index
|
||||
// Do not edit manually
|
||||
|
||||
import _claudeapi from "./ClaudeApi.png";
|
||||
import _eflowcode from "./eflowcode.png";
|
||||
import _hermes from "./hermes.png";
|
||||
import _lemondata from "./lemondata.png";
|
||||
@@ -81,6 +82,7 @@ export const icons: Record<string, string> = {
|
||||
};
|
||||
|
||||
export const iconUrls: Record<string, string> = {
|
||||
claudeapi: _claudeapi,
|
||||
eflowcode: _eflowcode,
|
||||
hermes: _hermes,
|
||||
lemondata: _lemondata,
|
||||
|
||||
@@ -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