mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-01 12:22:09 +08:00
chore(partners): remove DDSHub partner integration
Remove DDSHub from all provider presets (Claude, Claude Desktop, Codex, Hermes), i18n files (zh/en/ja), README docs, and icon system. Physical assets retained for potential future restoration.
This commit is contained in:
@@ -682,20 +682,6 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [
|
||||
icon: "ctok",
|
||||
iconColor: "#000000",
|
||||
},
|
||||
{
|
||||
name: "DDSHub",
|
||||
websiteUrl: "https://www.ddshub.cc",
|
||||
apiKeyUrl: "https://ddshub.short.gy/ccswitch",
|
||||
category: "third_party",
|
||||
baseUrl: "https://www.ddshub.cc",
|
||||
mode: "proxy",
|
||||
apiFormat: "anthropic",
|
||||
modelRoutes: passthroughRoutes(),
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "ddshub",
|
||||
icon: "dds",
|
||||
iconColor: "#000000",
|
||||
},
|
||||
{
|
||||
name: "E-FlowCode",
|
||||
websiteUrl: "https://e-flowcode.cc",
|
||||
|
||||
@@ -741,22 +741,6 @@ export const providerPresets: ProviderPreset[] = [
|
||||
icon: "ctok",
|
||||
iconColor: "#000000",
|
||||
},
|
||||
{
|
||||
name: "DDSHub",
|
||||
websiteUrl: "https://www.ddshub.cc",
|
||||
apiKeyUrl: "https://ddshub.short.gy/ccswitch",
|
||||
settingsConfig: {
|
||||
env: {
|
||||
ANTHROPIC_BASE_URL: "https://www.ddshub.cc",
|
||||
ANTHROPIC_AUTH_TOKEN: "",
|
||||
},
|
||||
},
|
||||
category: "third_party",
|
||||
isPartner: true, // 合作伙伴
|
||||
partnerPromotionKey: "ddshub", // 促销信息 i18n key
|
||||
icon: "dds",
|
||||
iconColor: "#000000",
|
||||
},
|
||||
{
|
||||
name: "E-FlowCode",
|
||||
websiteUrl: "https://e-flowcode.cc",
|
||||
|
||||
@@ -383,23 +383,6 @@ requires_openai_auth = true`,
|
||||
partnerPromotionKey: "lionccapi",
|
||||
icon: "lioncc",
|
||||
},
|
||||
{
|
||||
name: "DDSHub",
|
||||
websiteUrl: "https://www.ddshub.cc",
|
||||
apiKeyUrl: "https://ddshub.short.gy/ccswitch",
|
||||
category: "third_party",
|
||||
auth: generateThirdPartyAuth(""),
|
||||
config: generateThirdPartyConfig(
|
||||
"ddshub",
|
||||
"https://www.ddshub.cc",
|
||||
"gpt-5.4",
|
||||
),
|
||||
endpointCandidates: ["https://www.ddshub.cc"],
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "ddshub",
|
||||
icon: "dds",
|
||||
iconColor: "#000000",
|
||||
},
|
||||
{
|
||||
name: "E-FlowCode",
|
||||
websiteUrl: "https://e-flowcode.cc",
|
||||
|
||||
@@ -942,30 +942,6 @@ export const hermesProviderPresets: HermesProviderPreset[] = [
|
||||
model: { default: "claude-opus-4-7", provider: "ctok" },
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "DDSHub",
|
||||
websiteUrl: "https://www.ddshub.cc",
|
||||
apiKeyUrl: "https://ddshub.short.gy/ccswitch",
|
||||
settingsConfig: {
|
||||
name: "ddshub",
|
||||
base_url: "https://www.ddshub.cc",
|
||||
api_key: "",
|
||||
api_mode: "anthropic_messages",
|
||||
models: [
|
||||
{ id: "claude-opus-4-7", name: "Claude Opus 4.7" },
|
||||
{ id: "claude-sonnet-4-6", name: "Claude Sonnet 4.6" },
|
||||
{ id: "claude-haiku-4-5-20251001", name: "Claude Haiku 4.5" },
|
||||
],
|
||||
},
|
||||
category: "third_party",
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "ddshub",
|
||||
icon: "dds",
|
||||
iconColor: "#000000",
|
||||
suggestedDefaults: {
|
||||
model: { default: "claude-opus-4-7", provider: "ddshub" },
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "E-FlowCode",
|
||||
websiteUrl: "https://e-flowcode.cc",
|
||||
|
||||
Reference in New Issue
Block a user