mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-24 12:44:18 +08:00
chore(presets): update ZetaAPI referral link to go/u117
Refresh the ZetaAPI invite link from /go/ccs to /go/u117 across all 7 app presets (apiKeyUrl) and the four README locales. The historical CHANGELOG entry and the api.zetaapi.ai endpoints / bare websiteUrl are left untouched so the referral code stays out of request URLs.
This commit is contained in:
@@ -216,7 +216,7 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [
|
||||
{
|
||||
name: "ZetaAPI",
|
||||
websiteUrl: "https://zetaapi.ai",
|
||||
apiKeyUrl: "https://zetaapi.ai/go/ccs",
|
||||
apiKeyUrl: "https://zetaapi.ai/go/u117",
|
||||
category: "aggregator",
|
||||
baseUrl: "https://api.zetaapi.ai",
|
||||
mode: "direct",
|
||||
|
||||
@@ -275,7 +275,7 @@ export const providerPresets: ProviderPreset[] = [
|
||||
{
|
||||
name: "ZetaAPI",
|
||||
websiteUrl: "https://zetaapi.ai",
|
||||
apiKeyUrl: "https://zetaapi.ai/go/ccs",
|
||||
apiKeyUrl: "https://zetaapi.ai/go/u117",
|
||||
settingsConfig: {
|
||||
env: {
|
||||
ANTHROPIC_BASE_URL: "https://api.zetaapi.ai",
|
||||
|
||||
@@ -331,7 +331,7 @@ export const codexProviderPresets: CodexProviderPreset[] = [
|
||||
{
|
||||
name: "ZetaAPI",
|
||||
websiteUrl: "https://zetaapi.ai",
|
||||
apiKeyUrl: "https://zetaapi.ai/go/ccs",
|
||||
apiKeyUrl: "https://zetaapi.ai/go/u117",
|
||||
category: "aggregator",
|
||||
auth: generateThirdPartyAuth(""),
|
||||
config: generateThirdPartyConfig(
|
||||
|
||||
@@ -188,7 +188,7 @@ export const grokBuildProviderPresets: GrokBuildProviderPreset[] = [
|
||||
{
|
||||
name: "ZetaAPI",
|
||||
websiteUrl: "https://zetaapi.ai",
|
||||
apiKeyUrl: "https://zetaapi.ai/go/ccs",
|
||||
apiKeyUrl: "https://zetaapi.ai/go/u117",
|
||||
auth: grokAuth(),
|
||||
config: grokPresetConfig("ZetaAPI", "https://api.zetaapi.ai/v1"),
|
||||
endpointCandidates: ["https://api.zetaapi.ai/v1"],
|
||||
|
||||
@@ -192,7 +192,7 @@ export const hermesProviderPresets: HermesProviderPreset[] = [
|
||||
{
|
||||
name: "ZetaAPI",
|
||||
websiteUrl: "https://zetaapi.ai",
|
||||
apiKeyUrl: "https://zetaapi.ai/go/ccs",
|
||||
apiKeyUrl: "https://zetaapi.ai/go/u117",
|
||||
settingsConfig: {
|
||||
name: "zetaapi",
|
||||
base_url: "https://api.zetaapi.ai/v1",
|
||||
|
||||
@@ -407,7 +407,7 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
|
||||
{
|
||||
name: "ZetaAPI",
|
||||
websiteUrl: "https://zetaapi.ai",
|
||||
apiKeyUrl: "https://zetaapi.ai/go/ccs",
|
||||
apiKeyUrl: "https://zetaapi.ai/go/u117",
|
||||
settingsConfig: {
|
||||
baseUrl: "https://api.zetaapi.ai/v1",
|
||||
apiKey: "",
|
||||
|
||||
@@ -377,7 +377,7 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
{
|
||||
name: "ZetaAPI",
|
||||
websiteUrl: "https://zetaapi.ai",
|
||||
apiKeyUrl: "https://zetaapi.ai/go/ccs",
|
||||
apiKeyUrl: "https://zetaapi.ai/go/u117",
|
||||
settingsConfig: {
|
||||
npm: "@ai-sdk/openai-compatible",
|
||||
name: "ZetaAPI",
|
||||
|
||||
Reference in New Issue
Block a user