mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-24 12:44:18 +08:00
feat(presets): add DDSHub Codex preset
DDSHub now exposes a Codex-compatible endpoint at the same host as its Claude service. Base URL omits the /v1 suffix since the gateway auto-routes OpenAI SDK paths.
This commit is contained in:
@@ -364,6 +364,23 @@ 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",
|
||||
|
||||
Reference in New Issue
Block a user