mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-25 13:45:03 +08:00
chore(presets): remove LemonData provider and demote SudoCode to regular provider
- LemonData: delete the provider preset from all apps (claude, claude-desktop, codex, gemini, hermes, opencode, openclaw), remove partner promotion copy (zh/en/ja/zh-TW), icon index/metadata entries, sponsor ads in all READMEs, and the logo/icon PNG assets. - SudoCode: drop the isPartner flag and partnerPromotionKey across all app presets and remove the now-orphaned partner promotion copy; it stays as a regular third_party provider, keeping its icon.
This commit is contained in:
@@ -1374,8 +1374,6 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
},
|
||||
},
|
||||
category: "third_party",
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "sudocode",
|
||||
icon: "sudocode",
|
||||
templateValues: {
|
||||
apiKey: {
|
||||
@@ -1714,34 +1712,6 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "LemonData",
|
||||
websiteUrl: "https://lemondata.cc",
|
||||
apiKeyUrl: "https://lemondata.cc/r/FFX1ZDUP",
|
||||
settingsConfig: {
|
||||
npm: "@ai-sdk/openai-compatible",
|
||||
name: "LemonData",
|
||||
options: {
|
||||
baseURL: "https://api.lemondata.cc/v1",
|
||||
apiKey: "",
|
||||
setCacheKey: true,
|
||||
},
|
||||
models: {
|
||||
"gpt-5.5": { name: "GPT-5.5" },
|
||||
},
|
||||
},
|
||||
category: "third_party",
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "lemondata",
|
||||
icon: "lemondata",
|
||||
templateValues: {
|
||||
apiKey: {
|
||||
label: "API Key",
|
||||
placeholder: "",
|
||||
editorValue: "",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "AWS Bedrock",
|
||||
websiteUrl: "https://aws.amazon.com/bedrock/",
|
||||
|
||||
Reference in New Issue
Block a user