feat(presets): promote SudoCode to paid sponsor across six clients

Replace the legacy sudocode.us provider (a name collision) with the new
paid sponsor SudoCode on sudocode.chat, updated in place across six
clients: Claude Code, Codex, Claude Desktop, OpenCode, OpenClaw, Hermes.

- Switch endpoints to api.sudocode.chat, add isPartner +
  partnerPromotionKey, and add four-locale partnerPromotion copy
- Claude Code / Desktop use direct passthrough (no model mapping)
- Codex / OpenCode / OpenClaw / Hermes use gpt-5.6-sol
- Remove the Gemini entry (outside sponsor scope)
- Replace the provider icon with the new brand PNG
This commit is contained in:
Jason
2026-07-13 15:37:05 +08:00
parent af58740bcd
commit 618723b42f
12 changed files with 53 additions and 50 deletions
+7 -4
View File
@@ -1620,21 +1620,24 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
},
{
name: "SudoCode",
websiteUrl: "https://sudocode.us",
apiKeyUrl: "https://sudocode.us",
websiteUrl: "https://sudocode.chat",
apiKeyUrl:
"https://sudocode.chat/register?utm_source=ccswitch&utm_medium=partner",
settingsConfig: {
npm: "@ai-sdk/openai",
name: "SudoCode",
options: {
baseURL: "https://sudocode.us/v1",
baseURL: "https://api.sudocode.chat/v1",
apiKey: "",
setCacheKey: true,
},
models: {
"gpt-5.5": { name: "GPT-5.5" },
"gpt-5.6-sol": { name: "GPT-5.6 Sol" },
},
},
category: "third_party",
isPartner: true,
partnerPromotionKey: "sudocode",
icon: "sudocode",
templateValues: {
apiKey: {