chore(presets): update CrazyRouter API endpoints to cn subdomain

Update all CrazyRouter baseURL configurations from crazyrouter.com
to cn.crazyrouter.com across all supported applications (Claude,
Codex, Gemini, Hermes, OpenClaw, OpenCode, Claude Desktop).

Website and registration URLs remain unchanged.
This commit is contained in:
Jason
2026-05-14 15:40:41 +08:00
parent 99304ffcfd
commit 8dabb9fab9
7 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -590,11 +590,11 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [
websiteUrl: "https://www.crazyrouter.com",
apiKeyUrl: "https://www.crazyrouter.com/register?aff=OZcm&ref=cc-switch",
category: "third_party",
baseUrl: "https://crazyrouter.com",
baseUrl: "https://cn.crazyrouter.com",
mode: "proxy",
apiFormat: "anthropic",
modelRoutes: passthroughRoutes(),
endpointCandidates: ["https://crazyrouter.com"],
endpointCandidates: ["https://cn.crazyrouter.com"],
isPartner: true,
partnerPromotionKey: "crazyrouter",
icon: "crazyrouter",
+2 -2
View File
@@ -638,11 +638,11 @@ export const providerPresets: ProviderPreset[] = [
apiKeyUrl: "https://www.crazyrouter.com/register?aff=OZcm&ref=cc-switch",
settingsConfig: {
env: {
ANTHROPIC_BASE_URL: "https://crazyrouter.com",
ANTHROPIC_BASE_URL: "https://cn.crazyrouter.com",
ANTHROPIC_AUTH_TOKEN: "",
},
},
endpointCandidates: ["https://crazyrouter.com"],
endpointCandidates: ["https://cn.crazyrouter.com"],
category: "third_party",
isPartner: true, // 合作伙伴
partnerPromotionKey: "crazyrouter", // 促销信息 i18n key
+2 -2
View File
@@ -267,10 +267,10 @@ requires_openai_auth = true`,
auth: generateThirdPartyAuth(""),
config: generateThirdPartyConfig(
"crazyrouter",
"https://crazyrouter.com/v1",
"https://cn.crazyrouter.com/v1",
"gpt-5.4",
),
endpointCandidates: ["https://crazyrouter.com/v1"],
endpointCandidates: ["https://cn.crazyrouter.com/v1"],
isPartner: true,
partnerPromotionKey: "crazyrouter",
icon: "crazyrouter",
+3 -3
View File
@@ -185,17 +185,17 @@ export const geminiProviderPresets: GeminiProviderPreset[] = [
apiKeyUrl: "https://www.crazyrouter.com/register?aff=OZcm&ref=cc-switch",
settingsConfig: {
env: {
GOOGLE_GEMINI_BASE_URL: "https://crazyrouter.com",
GOOGLE_GEMINI_BASE_URL: "https://cn.crazyrouter.com",
GEMINI_MODEL: "gemini-3.1-pro",
},
},
baseURL: "https://crazyrouter.com",
baseURL: "https://cn.crazyrouter.com",
model: "gemini-3.1-pro",
description: "CrazyRouter",
category: "third_party",
isPartner: true,
partnerPromotionKey: "crazyrouter",
endpointCandidates: ["https://crazyrouter.com"],
endpointCandidates: ["https://cn.crazyrouter.com"],
icon: "crazyrouter",
iconColor: "#000000",
},
+1 -1
View File
@@ -808,7 +808,7 @@ export const hermesProviderPresets: HermesProviderPreset[] = [
apiKeyUrl: "https://www.crazyrouter.com/register?aff=OZcm&ref=cc-switch",
settingsConfig: {
name: "crazyrouter",
base_url: "https://crazyrouter.com",
base_url: "https://cn.crazyrouter.com",
api_key: "",
api_mode: "anthropic_messages",
models: [
+1 -1
View File
@@ -1392,7 +1392,7 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
websiteUrl: "https://www.crazyrouter.com",
apiKeyUrl: "https://www.crazyrouter.com/register?aff=OZcm&ref=cc-switch",
settingsConfig: {
baseUrl: "https://crazyrouter.com/v1",
baseUrl: "https://cn.crazyrouter.com/v1",
apiKey: "",
api: "anthropic-messages",
models: [
+1 -1
View File
@@ -1248,7 +1248,7 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
npm: "@ai-sdk/anthropic",
name: "CrazyRouter",
options: {
baseURL: "https://crazyrouter.com",
baseURL: "https://cn.crazyrouter.com",
apiKey: "",
setCacheKey: true,
},