diff --git a/src/config/claudeProviderPresets.ts b/src/config/claudeProviderPresets.ts index 5951a0d0b..4f1abc3d0 100644 --- a/src/config/claudeProviderPresets.ts +++ b/src/config/claudeProviderPresets.ts @@ -843,6 +843,22 @@ export const providerPresets: ProviderPreset[] = [ icon: "openai", iconColor: "#000000", }, + { + name: "LemonData", + websiteUrl: "https://lemondata.cc", + apiKeyUrl: "https://lemondata.cc/r/FFX1ZDUP", + apiKeyField: "ANTHROPIC_API_KEY", + settingsConfig: { + env: { + ANTHROPIC_BASE_URL: "https://api.lemondata.cc", + ANTHROPIC_API_KEY: "", + }, + }, + category: "third_party", + isPartner: true, + partnerPromotionKey: "lemondata", + icon: "lemondata", + }, { name: "Nvidia", websiteUrl: "https://build.nvidia.com", diff --git a/src/config/codexProviderPresets.ts b/src/config/codexProviderPresets.ts index 0e8caa046..7ed268af4 100644 --- a/src/config/codexProviderPresets.ts +++ b/src/config/codexProviderPresets.ts @@ -389,6 +389,22 @@ model_auto_compact_token_limit = 9000000`, icon: "eflowcode", iconColor: "#000000", }, + { + name: "LemonData", + websiteUrl: "https://lemondata.cc", + apiKeyUrl: "https://lemondata.cc/r/FFX1ZDUP", + category: "third_party", + auth: generateThirdPartyAuth(""), + config: generateThirdPartyConfig( + "lemondata", + "https://api.lemondata.cc/v1", + "gpt-5.4", + ), + endpointCandidates: ["https://api.lemondata.cc/v1"], + isPartner: true, + partnerPromotionKey: "lemondata", + icon: "lemondata", + }, { name: "PIPELLM", websiteUrl: "https://code.pipellm.ai", diff --git a/src/config/geminiProviderPresets.ts b/src/config/geminiProviderPresets.ts index 89a2621d4..a6d911871 100644 --- a/src/config/geminiProviderPresets.ts +++ b/src/config/geminiProviderPresets.ts @@ -295,6 +295,25 @@ export const geminiProviderPresets: GeminiProviderPreset[] = [ icon: "eflowcode", iconColor: "#000000", }, + { + name: "LemonData", + websiteUrl: "https://lemondata.cc", + apiKeyUrl: "https://lemondata.cc/r/FFX1ZDUP", + settingsConfig: { + env: { + GOOGLE_GEMINI_BASE_URL: "https://api.lemondata.cc", + GEMINI_MODEL: "gemini-3.1-pro", + }, + }, + baseURL: "https://api.lemondata.cc", + model: "gemini-3.1-pro", + description: "LemonData", + category: "third_party", + isPartner: true, + partnerPromotionKey: "lemondata", + endpointCandidates: ["https://api.lemondata.cc"], + icon: "lemondata", + }, { name: "OpenRouter", websiteUrl: "https://openrouter.ai", diff --git a/src/config/hermesProviderPresets.ts b/src/config/hermesProviderPresets.ts index 2b061a40d..5a7dfd979 100644 --- a/src/config/hermesProviderPresets.ts +++ b/src/config/hermesProviderPresets.ts @@ -988,6 +988,25 @@ export const hermesProviderPresets: HermesProviderPreset[] = [ model: { default: "claude-opus-4-7", provider: "lionccapi" }, }, }, + { + name: "LemonData", + websiteUrl: "https://lemondata.cc", + apiKeyUrl: "https://lemondata.cc/r/FFX1ZDUP", + settingsConfig: { + name: "lemondata", + base_url: "https://api.lemondata.cc/v1", + api_key: "", + api_mode: "chat_completions", + models: [{ id: "gpt-5.4", name: "GPT-5.4" }], + }, + category: "third_party", + isPartner: true, + partnerPromotionKey: "lemondata", + icon: "lemondata", + suggestedDefaults: { + model: { default: "gpt-5.4", provider: "lemondata" }, + }, + }, { name: "TheRouter", websiteUrl: "https://therouter.ai", diff --git a/src/config/openclawProviderPresets.ts b/src/config/openclawProviderPresets.ts index 102446be5..dc4397a66 100644 --- a/src/config/openclawProviderPresets.ts +++ b/src/config/openclawProviderPresets.ts @@ -1701,6 +1701,42 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [ }, }, }, + { + name: "LemonData", + websiteUrl: "https://lemondata.cc", + apiKeyUrl: "https://lemondata.cc/r/FFX1ZDUP", + settingsConfig: { + baseUrl: "https://api.lemondata.cc/v1", + apiKey: "", + api: "openai-completions", + models: [ + { + id: "gpt-5.4", + name: "GPT-5.4", + contextWindow: 400000, + }, + ], + }, + category: "third_party", + isPartner: true, + partnerPromotionKey: "lemondata", + icon: "lemondata", + templateValues: { + apiKey: { + label: "API Key", + placeholder: "", + editorValue: "", + }, + }, + suggestedDefaults: { + model: { + primary: "lemondata/gpt-5.4", + }, + modelCatalog: { + "lemondata/gpt-5.4": { alias: "GPT-5.4" }, + }, + }, + }, // ========== Cloud Providers ========== { name: "AWS Bedrock", diff --git a/src/config/opencodeProviderPresets.ts b/src/config/opencodeProviderPresets.ts index 1e70a2a1a..a6c39086b 100644 --- a/src/config/opencodeProviderPresets.ts +++ b/src/config/opencodeProviderPresets.ts @@ -1418,6 +1418,34 @@ 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.4": { name: "GPT-5.4" }, + }, + }, + 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/", diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 959aa7ba1..eae16cdc5 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -797,7 +797,8 @@ "ctok": "Join the CTok community on the official website and subscribe to a plan.", "ddshub": "DDSHub offers a special bonus for CC Switch users — register via this link and get 10% extra credit on your first top-up (contact group admin to claim)!", "lionccapi": "LionCCAPI offers exclusive benefits for CC Switch users. After registration, add WeChat HSQBJ088888888 and mention 'cc-switch' to receive $10 free credits!", - "shengsuanyun": "Shengsuanyun offers exclusive benefits for CC Switch users. New users who register via this link get ¥10 free credits and 10% bonus on first top-up!" + "shengsuanyun": "Shengsuanyun offers exclusive benefits for CC Switch users. New users who register via this link get ¥10 free credits and 10% bonus on first top-up!", + "lemondata": "Lemon Code offers a special promotion for CC Switch users. Sign up via this link to receive $1 in free credits." }, "presets": { "ucloud": "Compshare", diff --git a/src/i18n/locales/ja.json b/src/i18n/locales/ja.json index 5e4f27024..3336108ce 100644 --- a/src/i18n/locales/ja.json +++ b/src/i18n/locales/ja.json @@ -797,7 +797,8 @@ "ctok": "公式サイトで CTok コミュニティに参加し、プランを購読してください。", "ddshub": "DDSHub は CC Switch ユーザー向けに特別ボーナスを提供しています。このリンクから登録すると、初回チャージで 10% の追加クレジットがもらえます(グループ管理者に連絡して受け取り)!", "lionccapi": "LionCCAPIはCC Switchユーザーに特別特典を提供しています。登録後、WeChat HSQBJ088888888を追加し、「cc-switch」と伝えると$10分のクレジットがもらえます!", - "shengsuanyun": "胜算云はCC Switchユーザーに特別特典を提供しています。このリンクから登録すると、10元分の無料クレジットと初回チャージ10%ボーナスがもらえます!" + "shengsuanyun": "胜算云はCC Switchユーザーに特別特典を提供しています。このリンクから登録すると、10元分の無料クレジットと初回チャージ10%ボーナスがもらえます!", + "lemondata": "Lemon Code は CC Switch ユーザー向けの特別オファーを提供しています。このリンクから登録すると 1 ドル分の無料クレジットがもらえます。" }, "presets": { "ucloud": "Compshare", diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index b14308b91..59caf241f 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -797,7 +797,8 @@ "ctok": "官网加入CTok社群,订阅套餐。", "ddshub": "呆呆兽为CC Switch 的用户提供了特别福利,通过此链接注册后,首单充值可额外赠送 10% 额度(联系群主领取)!", "lionccapi": "LionCCAPI 为 CC Switch 的用户提供了特别福利,注册后添加客服微信HSQBJ088888888,发暗号cc-switch备注即可送10美金额度!", - "shengsuanyun": "胜算云为 CC Switch 的用户提供了特别福利,使用此链接注册的新用户可获 10 元模力及首充 10% 赠送!" + "shengsuanyun": "胜算云为 CC Switch 的用户提供了特别福利,使用此链接注册的新用户可获 10 元模力及首充 10% 赠送!", + "lemondata": "Lemon Code 为 CC Switch 的用户提供了特别优惠。使用此链接注册可以获得1美元免费额度。" }, "presets": { "ucloud": "优云智算", diff --git a/src/icons/extracted/index.ts b/src/icons/extracted/index.ts index c17d4b1f7..00673e206 100644 --- a/src/icons/extracted/index.ts +++ b/src/icons/extracted/index.ts @@ -4,6 +4,7 @@ import _dds from "./dds.svg?url"; import _eflowcode from "./eflowcode.png"; import _hermes from "./hermes.png"; +import _lemondata from "./lemondata.png"; import _pipellm from "./pipellm.png"; import _shengsuanyun from "./shengsuanyun.svg?url"; @@ -83,6 +84,7 @@ export const iconUrls: Record = { dds: _dds, eflowcode: _eflowcode, hermes: _hermes, + lemondata: _lemondata, pipellm: _pipellm, shengsuanyun: _shengsuanyun, }; diff --git a/src/icons/extracted/lemondata.png b/src/icons/extracted/lemondata.png new file mode 100644 index 000000000..8a6d7ace9 Binary files /dev/null and b/src/icons/extracted/lemondata.png differ diff --git a/src/icons/extracted/metadata.ts b/src/icons/extracted/metadata.ts index bbf5afd34..6252c321c 100644 --- a/src/icons/extracted/metadata.ts +++ b/src/icons/extracted/metadata.ts @@ -275,6 +275,13 @@ export const iconMetadata: Record = { keywords: ["hermes", "agent", "nous", "nousresearch"], defaultColor: "#000000", }, + lemondata: { + name: "lemondata", + displayName: "LemonData", + category: "ai-provider", + keywords: ["lemondata", "lemon", "lemoncode"], + defaultColor: "#F5C518", + }, packycode: { name: "packycode", displayName: "PackyCode",