fix: correct X-Code API URL from www.x-code.cn to x-code.cc

This commit is contained in:
Jason
2026-03-09 23:07:39 +08:00
parent 75b4ef2299
commit 236f96b583
3 changed files with 11 additions and 11 deletions
+4 -4
View File
@@ -317,15 +317,15 @@ requires_openai_auth = true`,
},
{
name: "X-Code API",
websiteUrl: "https://www.x-code.cn",
apiKeyUrl: "https://www.x-code.cn",
websiteUrl: "https://x-code.cc",
apiKeyUrl: "https://x-code.cc",
auth: generateThirdPartyAuth(""),
config: generateThirdPartyConfig(
"x-code",
"https://www.x-code.cn/v1",
"https://x-code.cc/v1",
"gpt-5.4",
),
endpointCandidates: ["https://www.x-code.cn/v1"],
endpointCandidates: ["https://x-code.cc/v1"],
category: "third_party",
isPartner: true, // 合作伙伴
partnerPromotionKey: "x-code", // 促销信息 i18n key