feat: add endpointCandidates for Ucloud/X-Code Claude presets and unify Ucloud apiKeyUrl

This commit is contained in:
Jason
2026-03-09 11:44:42 +08:00
parent e5838e0a10
commit 82438decf6
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -563,6 +563,7 @@ export const providerPresets: ProviderPreset[] = [
ANTHROPIC_AUTH_TOKEN: "",
},
},
endpointCandidates: ["https://api.modelverse.cn"],
category: "aggregator",
isPartner: true, // 合作伙伴
partnerPromotionKey: "ucloud", // 促销信息 i18n key
@@ -596,6 +597,7 @@ export const providerPresets: ProviderPreset[] = [
ANTHROPIC_AUTH_TOKEN: "",
},
},
endpointCandidates: ["https://www.x-code.cn"],
category: "third_party",
isPartner: true, // 合作伙伴
partnerPromotionKey: "x-code", // 促销信息 i18n key
+1 -1
View File
@@ -1229,7 +1229,7 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
name: "Ucloud",
websiteUrl: "https://www.compshare.cn",
apiKeyUrl:
"https://www.compshare.cn/docs/modelverse/best_practice/openclaw",
"https://www.compshare.cn/coding-plan?ytag=GPU_YY_YX_git_cc-switch",
settingsConfig: {
baseUrl: "https://api.modelverse.cn/v1",
apiKey: "",