mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-28 16:56: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:
@@ -367,6 +367,34 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "ZetaAPI",
|
||||
websiteUrl: "https://zetaapi.ai",
|
||||
apiKeyUrl: "https://zetaapi.ai/go/ccs",
|
||||
settingsConfig: {
|
||||
npm: "@ai-sdk/openai-compatible",
|
||||
name: "ZetaAPI",
|
||||
options: {
|
||||
baseURL: "https://api.zetaapi.ai/v1",
|
||||
apiKey: "",
|
||||
setCacheKey: true,
|
||||
},
|
||||
models: {
|
||||
"gpt-5.5": { name: "GPT-5.5" },
|
||||
},
|
||||
},
|
||||
category: "aggregator",
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "zetaapi",
|
||||
icon: "zetaapi",
|
||||
templateValues: {
|
||||
apiKey: {
|
||||
label: "API Key",
|
||||
placeholder: "",
|
||||
editorValue: "",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "火山Agentplan",
|
||||
websiteUrl: "https://www.volcengine.com/product/ark",
|
||||
|
||||
Reference in New Issue
Block a user