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
+3 -3
View File
@@ -1147,13 +1147,13 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
},
{
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",
settingsConfig: {
npm: "@ai-sdk/anthropic",
name: "X-Code API",
options: {
baseURL: "https://www.x-code.cn/v1",
baseURL: "https://x-code.cc/v1",
apiKey: "",
},
models: {