mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-02 10:21:16 +08:00
feat(presets): add ZetaAPI provider preset for 6 apps
Add ZetaAPI (api.zetaapi.ai) as a partner aggregator preset across Claude Code, Claude Desktop, Codex, OpenCode, OpenClaw, and Hermes (Gemini not supported). ZetaAPI relays native Claude/GPT, so Claude Code/Codex pass through native models; the OpenAI-compatible apps default to gpt-5.5. - Claude / Claude Desktop: Anthropic-compatible bare host (api.zetaapi.ai) - Codex: native Responses at api.zetaapi.ai/v1, gpt-5.5 - OpenCode / OpenClaw / Hermes: gpt-5.5 over api.zetaapi.ai/v1 - Partner referral link (zetaapi.ai/go/ccs) as apiKeyUrl + short partner-promotion blurb in zh/en/ja/zh-TW - Add ZetaAPI sponsor entry to all four READMEs (zetaapi-banner.png), first-recharge 10% off with promo code CC-SWITCH - Register zetaapi-icon.png icon (URL import + iconUrls + metadata)
This commit is contained in:
@@ -317,6 +317,22 @@ export const codexProviderPresets: CodexProviderPreset[] = [
|
||||
partnerPromotionKey: "fenno",
|
||||
icon: "fenno",
|
||||
},
|
||||
{
|
||||
name: "ZetaAPI",
|
||||
websiteUrl: "https://zetaapi.ai",
|
||||
apiKeyUrl: "https://zetaapi.ai/go/ccs",
|
||||
category: "aggregator",
|
||||
auth: generateThirdPartyAuth(""),
|
||||
config: generateThirdPartyConfig(
|
||||
"zetaapi",
|
||||
"https://api.zetaapi.ai/v1",
|
||||
"gpt-5.5",
|
||||
),
|
||||
endpointCandidates: ["https://api.zetaapi.ai/v1"],
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "zetaapi",
|
||||
icon: "zetaapi",
|
||||
},
|
||||
{
|
||||
name: "Azure OpenAI",
|
||||
websiteUrl:
|
||||
|
||||
Reference in New Issue
Block a user