mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-01 04:02:02 +08:00
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:
@@ -1197,24 +1197,26 @@ requires_openai_auth = true`,
|
||||
},
|
||||
{
|
||||
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",
|
||||
category: "third_party",
|
||||
auth: generateThirdPartyAuth(""),
|
||||
config: `model_provider = "custom"
|
||||
model = "gpt-5.5"
|
||||
review_model = "gpt-5.5"
|
||||
model = "gpt-5.6-sol"
|
||||
review_model = "gpt-5.6-sol"
|
||||
model_reasoning_effort = "high"
|
||||
disable_response_storage = true
|
||||
model_verbosity = "high"
|
||||
|
||||
[model_providers.custom]
|
||||
name = "sudocode"
|
||||
base_url = "https://sudocode.us/v1"
|
||||
name = "SudoCode"
|
||||
base_url = "https://api.sudocode.chat/v1"
|
||||
wire_api = "responses"
|
||||
requires_openai_auth = true`,
|
||||
endpointCandidates: ["https://sudocode.us/v1", "https://sudocode.run/v1"],
|
||||
endpointCandidates: ["https://api.sudocode.chat/v1"],
|
||||
apiFormat: "openai_responses",
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "sudocode",
|
||||
icon: "sudocode",
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user