chore: remove X-Code API (XCodeAPI) provider preset and sponsorship

This commit is contained in:
Jason
2026-04-13 11:19:08 +08:00
parent 5c1b457520
commit d6fa611833
13 changed files with 0 additions and 92 deletions
-30
View File
@@ -1291,36 +1291,6 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
},
},
},
{
name: "X-Code API",
websiteUrl: "https://x-code.cc",
apiKeyUrl: "https://x-code.cc",
settingsConfig: {
npm: "@ai-sdk/anthropic",
name: "X-Code API",
options: {
baseURL: "https://x-code.cc/v1",
apiKey: "",
setCacheKey: true,
},
models: {
"claude-opus-4-6": { name: "Claude Opus 4.6" },
"claude-sonnet-4-6": { name: "Claude Sonnet 4.6" },
},
},
category: "third_party",
isPartner: true,
partnerPromotionKey: "x-code",
icon: "xcode",
iconColor: "#000000",
templateValues: {
apiKey: {
label: "API Key",
placeholder: "",
editorValue: "",
},
},
},
{
name: "CTok.ai",
websiteUrl: "https://ctok.ai",