From 8d6353699caad187cfeff858d394fb969418a7de Mon Sep 17 00:00:00 2001 From: Jason Date: Sun, 19 Apr 2026 10:26:49 +0800 Subject: [PATCH] feat(presets): sync Claude provider presets to Hermes Import 38 Claude presets into Hermes by mapping env-style ANTHROPIC_BASE_URL/AUTH_TOKEN to flat base_url/api_key, deriving api_mode from apiFormat (anthropic_messages or chat_completions), deduping ANTHROPIC_*_MODEL into models[], and pointing suggestedDefaults at ANTHROPIC_MODEL. Skip OAuth-only presets (Codex, Copilot), Bedrock SigV4, Gemini Native, and the three already shipped on the Hermes side (OpenRouter, Anthropic, DeepSeek). Place Shengsuanyun at the head of the Hermes array so the partner shows first in the preset panel. In the Claude preset list, restore Shengsuanyun back ahead of Gemini Native. The Gemini Native preset (#1918) was inserted between Claude Official and Shengsuanyun, which made the third_party category register first in the reduce-based grouping and pushed the aggregator block (and Shengsuanyun) behind it. Backfill the missing providerForm.presets translations across zh, en, and ja (openrouter, anthropic, openai, googleai, deepseek, together; plus shengsuanyun for en and ja) so existing Hermes preset names no longer render literal i18n keys. --- src/config/claudeProviderPresets.ts | 32 +- src/config/hermesProviderPresets.ts | 690 ++++++++++++++++++++++++++++ src/i18n/locales/en.json | 9 +- src/i18n/locales/ja.json | 9 +- src/i18n/locales/zh.json | 8 +- 5 files changed, 729 insertions(+), 19 deletions(-) diff --git a/src/config/claudeProviderPresets.ts b/src/config/claudeProviderPresets.ts index 8bbfb6e6c..85dd579e7 100644 --- a/src/config/claudeProviderPresets.ts +++ b/src/config/claudeProviderPresets.ts @@ -85,6 +85,22 @@ export const providerPresets: ProviderPreset[] = [ icon: "anthropic", iconColor: "#D4915D", }, + { + name: "Shengsuanyun", + nameKey: "providerForm.presets.shengsuanyun", + websiteUrl: "https://www.shengsuanyun.com", + apiKeyUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", + settingsConfig: { + env: { + ANTHROPIC_BASE_URL: "https://router.shengsuanyun.com/api", + ANTHROPIC_AUTH_TOKEN: "", + }, + }, + category: "aggregator", + isPartner: true, + partnerPromotionKey: "shengsuanyun", + icon: "shengsuanyun", + }, { name: "Gemini Native", websiteUrl: "https://ai.google.dev/gemini-api", @@ -106,22 +122,6 @@ export const providerPresets: ProviderPreset[] = [ icon: "gemini", iconColor: "#4285F4", }, - { - name: "Shengsuanyun", - nameKey: "providerForm.presets.shengsuanyun", - websiteUrl: "https://www.shengsuanyun.com", - apiKeyUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", - settingsConfig: { - env: { - ANTHROPIC_BASE_URL: "https://router.shengsuanyun.com/api", - ANTHROPIC_AUTH_TOKEN: "", - }, - }, - category: "aggregator", - isPartner: true, - partnerPromotionKey: "shengsuanyun", - icon: "shengsuanyun", - }, { name: "DeepSeek", websiteUrl: "https://platform.deepseek.com", diff --git a/src/config/hermesProviderPresets.ts b/src/config/hermesProviderPresets.ts index 4cc5f7241..cb8b7273e 100644 --- a/src/config/hermesProviderPresets.ts +++ b/src/config/hermesProviderPresets.ts @@ -102,6 +102,22 @@ export interface HermesProviderSettingsConfig { } export const hermesProviderPresets: HermesProviderPreset[] = [ + { + name: "Shengsuanyun", + nameKey: "providerForm.presets.shengsuanyun", + websiteUrl: "https://www.shengsuanyun.com", + apiKeyUrl: "https://www.shengsuanyun.com/?from=CH_4HHXMRYF", + settingsConfig: { + name: "shengsuanyun", + base_url: "https://router.shengsuanyun.com/api", + api_key: "", + api_mode: "anthropic_messages", + }, + category: "aggregator", + isPartner: true, + partnerPromotionKey: "shengsuanyun", + icon: "shengsuanyun", + }, { name: "OpenRouter", nameKey: "providerForm.presets.openrouter", @@ -347,4 +363,678 @@ export const hermesProviderPresets: HermesProviderPreset[] = [ model: { default: "Hermes-4-405B", provider: "nous" }, }, }, + + // ===== 以下为从 Claude 应用预设同步而来的供应商 ===== + // 字段映射:env.ANTHROPIC_BASE_URL → base_url;env.ANTHROPIC_AUTH_TOKEN → api_key; + // apiFormat "anthropic"(默认) → api_mode "anthropic_messages"; + // apiFormat "openai_chat" → api_mode "chat_completions"; + // ANTHROPIC_MODEL / DEFAULT_HAIKU / SONNET / OPUS_MODEL 去重后塞进 models[]。 + // 注:Shengsuanyun 也属同步而来,但作为合作伙伴置顶展示,已上移到数组开头。 + { + name: "Zhipu GLM", + websiteUrl: "https://open.bigmodel.cn", + apiKeyUrl: "https://www.bigmodel.cn/claude-code?ic=RRVJPB5SII", + settingsConfig: { + name: "zhipu_glm", + base_url: "https://open.bigmodel.cn/api/anthropic", + api_key: "", + api_mode: "anthropic_messages", + models: [{ id: "glm-5", name: "GLM-5" }], + }, + category: "cn_official", + icon: "zhipu", + iconColor: "#0F62FE", + suggestedDefaults: { + model: { default: "glm-5", provider: "zhipu_glm" }, + }, + }, + { + name: "Zhipu GLM en", + websiteUrl: "https://z.ai", + apiKeyUrl: "https://z.ai/subscribe?ic=8JVLJQFSKB", + settingsConfig: { + name: "zhipu_glm_en", + base_url: "https://api.z.ai/api/anthropic", + api_key: "", + api_mode: "anthropic_messages", + models: [{ id: "glm-5", name: "GLM-5" }], + }, + category: "cn_official", + icon: "zhipu", + iconColor: "#0F62FE", + suggestedDefaults: { + model: { default: "glm-5", provider: "zhipu_glm_en" }, + }, + }, + { + name: "Bailian", + websiteUrl: "https://bailian.console.aliyun.com", + settingsConfig: { + name: "bailian", + base_url: "https://dashscope.aliyuncs.com/apps/anthropic", + api_key: "", + api_mode: "anthropic_messages", + }, + category: "cn_official", + icon: "bailian", + iconColor: "#624AFF", + }, + { + name: "Bailian For Coding", + websiteUrl: "https://bailian.console.aliyun.com", + settingsConfig: { + name: "bailian_coding", + base_url: "https://coding.dashscope.aliyuncs.com/apps/anthropic", + api_key: "", + api_mode: "anthropic_messages", + }, + category: "cn_official", + icon: "bailian", + iconColor: "#624AFF", + }, + { + name: "Kimi", + websiteUrl: "https://platform.moonshot.cn/console", + settingsConfig: { + name: "kimi", + base_url: "https://api.moonshot.cn/anthropic", + api_key: "", + api_mode: "anthropic_messages", + models: [{ id: "kimi-k2.5", name: "Kimi K2.5" }], + }, + category: "cn_official", + icon: "kimi", + iconColor: "#6366F1", + suggestedDefaults: { + model: { default: "kimi-k2.5", provider: "kimi" }, + }, + }, + { + name: "Kimi For Coding", + websiteUrl: "https://www.kimi.com/coding/docs/", + settingsConfig: { + name: "kimi_coding", + base_url: "https://api.kimi.com/coding/", + api_key: "", + api_mode: "anthropic_messages", + }, + category: "cn_official", + icon: "kimi", + iconColor: "#6366F1", + }, + { + name: "StepFun", + websiteUrl: "https://platform.stepfun.ai", + apiKeyUrl: "https://platform.stepfun.ai/interface-key", + settingsConfig: { + name: "stepfun", + base_url: "https://api.stepfun.ai/v1", + api_key: "", + api_mode: "chat_completions", + models: [{ id: "step-3.5-flash", name: "Step 3.5 Flash" }], + }, + category: "cn_official", + icon: "stepfun", + iconColor: "#005AFF", + suggestedDefaults: { + model: { default: "step-3.5-flash", provider: "stepfun" }, + }, + }, + { + name: "ModelScope", + websiteUrl: "https://modelscope.cn", + settingsConfig: { + name: "modelscope", + base_url: "https://api-inference.modelscope.cn", + api_key: "", + api_mode: "anthropic_messages", + models: [{ id: "ZhipuAI/GLM-5", name: "ZhipuAI / GLM-5" }], + }, + category: "aggregator", + icon: "modelscope", + iconColor: "#624AFF", + suggestedDefaults: { + model: { default: "ZhipuAI/GLM-5", provider: "modelscope" }, + }, + }, + { + name: "KAT-Coder", + websiteUrl: "https://console.streamlake.ai", + apiKeyUrl: "https://console.streamlake.ai/console/api-key", + settingsConfig: { + name: "kat_coder", + base_url: + "https://vanchin.streamlake.ai/api/gateway/v1/endpoints/${ENDPOINT_ID}/claude-code-proxy", + api_key: "", + api_mode: "anthropic_messages", + models: [ + { id: "KAT-Coder-Pro V1", name: "KAT-Coder Pro V1" }, + { id: "KAT-Coder-Air V1", name: "KAT-Coder Air V1" }, + ], + }, + category: "cn_official", + templateValues: { + ENDPOINT_ID: { + label: "Vanchin Endpoint ID", + placeholder: "ep-xxx-xxx", + defaultValue: "", + editorValue: "", + }, + }, + icon: "catcoder", + suggestedDefaults: { + model: { default: "KAT-Coder-Pro V1", provider: "kat_coder" }, + }, + }, + { + name: "Longcat", + websiteUrl: "https://longcat.chat/platform", + apiKeyUrl: "https://longcat.chat/platform/api_keys", + settingsConfig: { + name: "longcat", + base_url: "https://api.longcat.chat/anthropic", + api_key: "", + api_mode: "anthropic_messages", + models: [{ id: "LongCat-Flash-Chat", name: "LongCat Flash Chat" }], + }, + category: "cn_official", + icon: "longcat", + iconColor: "#29E154", + suggestedDefaults: { + model: { default: "LongCat-Flash-Chat", provider: "longcat" }, + }, + }, + { + name: "MiniMax", + websiteUrl: "https://platform.minimaxi.com", + apiKeyUrl: "https://platform.minimaxi.com/subscribe/coding-plan", + settingsConfig: { + name: "minimax", + base_url: "https://api.minimaxi.com/anthropic", + api_key: "", + api_mode: "anthropic_messages", + models: [{ id: "MiniMax-M2.7", name: "MiniMax M2.7" }], + }, + category: "cn_official", + isPartner: true, + partnerPromotionKey: "minimax_cn", + theme: { backgroundColor: "#f64551", textColor: "#FFFFFF" }, + icon: "minimax", + iconColor: "#FF6B6B", + suggestedDefaults: { + model: { default: "MiniMax-M2.7", provider: "minimax" }, + }, + }, + { + name: "MiniMax en", + websiteUrl: "https://platform.minimax.io", + apiKeyUrl: "https://platform.minimax.io/subscribe/coding-plan", + settingsConfig: { + name: "minimax_en", + base_url: "https://api.minimax.io/anthropic", + api_key: "", + api_mode: "anthropic_messages", + models: [{ id: "MiniMax-M2.7", name: "MiniMax M2.7" }], + }, + category: "cn_official", + isPartner: true, + partnerPromotionKey: "minimax_en", + theme: { backgroundColor: "#f64551", textColor: "#FFFFFF" }, + icon: "minimax", + iconColor: "#FF6B6B", + suggestedDefaults: { + model: { default: "MiniMax-M2.7", provider: "minimax_en" }, + }, + }, + { + name: "DouBaoSeed", + websiteUrl: "https://www.volcengine.com/product/doubao", + apiKeyUrl: "https://www.volcengine.com/product/doubao", + settingsConfig: { + name: "doubao_seed", + base_url: "https://ark.cn-beijing.volces.com/api/coding", + api_key: "", + api_mode: "anthropic_messages", + models: [ + { + id: "doubao-seed-2-0-code-preview-latest", + name: "Doubao Seed 2.0 Code Preview", + }, + ], + }, + category: "cn_official", + icon: "doubao", + iconColor: "#3370FF", + suggestedDefaults: { + model: { + default: "doubao-seed-2-0-code-preview-latest", + provider: "doubao_seed", + }, + }, + }, + { + name: "BaiLing", + websiteUrl: "https://alipaytbox.yuque.com/sxs0ba/ling/get_started", + settingsConfig: { + name: "bailing", + base_url: "https://api.tbox.cn/api/anthropic", + api_key: "", + api_mode: "anthropic_messages", + models: [{ id: "Ling-2.5-1T", name: "Ling 2.5 1T" }], + }, + category: "cn_official", + suggestedDefaults: { + model: { default: "Ling-2.5-1T", provider: "bailing" }, + }, + }, + { + name: "AiHubMix", + websiteUrl: "https://aihubmix.com", + apiKeyUrl: "https://aihubmix.com", + settingsConfig: { + name: "aihubmix", + base_url: "https://aihubmix.com", + api_key: "", + api_mode: "anthropic_messages", + }, + category: "aggregator", + icon: "aihubmix", + iconColor: "#006FFB", + }, + { + name: "SiliconFlow", + websiteUrl: "https://siliconflow.cn", + apiKeyUrl: "https://cloud.siliconflow.cn/i/drGuwc9k", + settingsConfig: { + name: "siliconflow", + base_url: "https://api.siliconflow.cn", + api_key: "", + api_mode: "anthropic_messages", + models: [ + { + id: "Pro/MiniMaxAI/MiniMax-M2.7", + name: "Pro / MiniMax M2.7", + }, + ], + }, + category: "aggregator", + isPartner: true, + partnerPromotionKey: "siliconflow", + icon: "siliconflow", + iconColor: "#6E29F6", + suggestedDefaults: { + model: { + default: "Pro/MiniMaxAI/MiniMax-M2.7", + provider: "siliconflow", + }, + }, + }, + { + name: "SiliconFlow en", + websiteUrl: "https://siliconflow.com", + apiKeyUrl: "https://cloud.siliconflow.cn/i/drGuwc9k", + settingsConfig: { + name: "siliconflow_en", + base_url: "https://api.siliconflow.com", + api_key: "", + api_mode: "anthropic_messages", + models: [{ id: "MiniMaxAI/MiniMax-M2.7", name: "MiniMax M2.7" }], + }, + category: "aggregator", + isPartner: true, + partnerPromotionKey: "siliconflow", + icon: "siliconflow", + iconColor: "#000000", + suggestedDefaults: { + model: { + default: "MiniMaxAI/MiniMax-M2.7", + provider: "siliconflow_en", + }, + }, + }, + { + name: "DMXAPI", + websiteUrl: "https://www.dmxapi.cn", + apiKeyUrl: "https://www.dmxapi.cn", + settingsConfig: { + name: "dmxapi", + base_url: "https://www.dmxapi.cn", + api_key: "", + api_mode: "anthropic_messages", + }, + category: "aggregator", + isPartner: true, + partnerPromotionKey: "dmxapi", + }, + { + name: "PackyCode", + websiteUrl: "https://www.packyapi.com", + apiKeyUrl: "https://www.packyapi.com/register?aff=cc-switch", + settingsConfig: { + name: "packycode", + base_url: "https://www.packyapi.com", + api_key: "", + api_mode: "anthropic_messages", + }, + category: "third_party", + isPartner: true, + partnerPromotionKey: "packycode", + icon: "packycode", + }, + { + name: "Cubence", + websiteUrl: "https://cubence.com", + apiKeyUrl: "https://cubence.com/signup?code=CCSWITCH&source=ccs", + settingsConfig: { + name: "cubence", + base_url: "https://api.cubence.com", + api_key: "", + api_mode: "anthropic_messages", + }, + category: "third_party", + isPartner: true, + partnerPromotionKey: "cubence", + icon: "cubence", + iconColor: "#000000", + }, + { + name: "AIGoCode", + websiteUrl: "https://aigocode.com", + apiKeyUrl: "https://aigocode.com/invite/CC-SWITCH", + settingsConfig: { + name: "aigocode", + base_url: "https://api.aigocode.com", + api_key: "", + api_mode: "anthropic_messages", + }, + category: "third_party", + isPartner: true, + partnerPromotionKey: "aigocode", + icon: "aigocode", + iconColor: "#5B7FFF", + }, + { + name: "RightCode", + websiteUrl: "https://www.right.codes", + apiKeyUrl: "https://www.right.codes/register?aff=CCSWITCH", + settingsConfig: { + name: "rightcode", + base_url: "https://www.right.codes/claude", + api_key: "", + api_mode: "anthropic_messages", + }, + category: "third_party", + isPartner: true, + partnerPromotionKey: "rightcode", + icon: "rc", + iconColor: "#E96B2C", + }, + { + name: "AICodeMirror", + websiteUrl: "https://www.aicodemirror.com", + apiKeyUrl: "https://www.aicodemirror.com/register?invitecode=9915W3", + settingsConfig: { + name: "aicodemirror", + base_url: "https://api.aicodemirror.com/api/claudecode", + api_key: "", + api_mode: "anthropic_messages", + }, + category: "third_party", + isPartner: true, + partnerPromotionKey: "aicodemirror", + icon: "aicodemirror", + iconColor: "#000000", + }, + { + name: "AICoding", + websiteUrl: "https://aicoding.sh", + apiKeyUrl: "https://aicoding.sh/i/CCSWITCH", + settingsConfig: { + name: "aicoding", + base_url: "https://api.aicoding.sh", + api_key: "", + api_mode: "anthropic_messages", + }, + category: "third_party", + isPartner: true, + partnerPromotionKey: "aicoding", + icon: "aicoding", + iconColor: "#000000", + }, + { + name: "CrazyRouter", + websiteUrl: "https://www.crazyrouter.com", + apiKeyUrl: "https://www.crazyrouter.com/register?aff=OZcm&ref=cc-switch", + settingsConfig: { + name: "crazyrouter", + base_url: "https://crazyrouter.com", + api_key: "", + api_mode: "anthropic_messages", + }, + category: "third_party", + isPartner: true, + partnerPromotionKey: "crazyrouter", + icon: "crazyrouter", + iconColor: "#000000", + }, + { + name: "SSSAiCode", + websiteUrl: "https://www.sssaicode.com", + apiKeyUrl: "https://www.sssaicode.com/register?ref=DCP0SM", + settingsConfig: { + name: "sssaicode", + base_url: "https://node-hk.sssaicode.com/api", + api_key: "", + api_mode: "anthropic_messages", + }, + category: "third_party", + isPartner: true, + partnerPromotionKey: "sssaicode", + icon: "sssaicode", + iconColor: "#000000", + }, + { + name: "Compshare", + nameKey: "providerForm.presets.ucloud", + websiteUrl: "https://www.compshare.cn", + apiKeyUrl: + "https://www.compshare.cn/coding-plan?ytag=GPU_YY_YX_git_cc-switch", + settingsConfig: { + name: "compshare", + base_url: "https://api.modelverse.cn", + api_key: "", + api_mode: "anthropic_messages", + }, + category: "aggregator", + isPartner: true, + partnerPromotionKey: "ucloud", + icon: "ucloud", + iconColor: "#000000", + }, + { + name: "Micu", + websiteUrl: "https://www.openclaudecode.cn", + apiKeyUrl: "https://www.openclaudecode.cn/register?aff=aOYQ", + settingsConfig: { + name: "micu", + base_url: "https://www.openclaudecode.cn", + api_key: "", + api_mode: "anthropic_messages", + }, + category: "third_party", + isPartner: true, + partnerPromotionKey: "micu", + icon: "micu", + iconColor: "#000000", + }, + { + name: "CTok.ai", + websiteUrl: "https://ctok.ai", + apiKeyUrl: "https://ctok.ai", + settingsConfig: { + name: "ctok", + base_url: "https://api.ctok.ai", + api_key: "", + api_mode: "anthropic_messages", + }, + category: "third_party", + isPartner: true, + partnerPromotionKey: "ctok", + icon: "ctok", + iconColor: "#000000", + }, + { + name: "DDSHub", + websiteUrl: "https://www.ddshub.cc", + apiKeyUrl: "https://ddshub.short.gy/ccswitch", + settingsConfig: { + name: "ddshub", + base_url: "https://www.ddshub.cc", + api_key: "", + api_mode: "anthropic_messages", + }, + category: "third_party", + isPartner: true, + partnerPromotionKey: "ddshub", + icon: "dds", + iconColor: "#000000", + }, + { + name: "E-FlowCode", + websiteUrl: "https://e-flowcode.cc", + apiKeyUrl: "https://e-flowcode.cc", + settingsConfig: { + name: "eflowcode", + base_url: "https://e-flowcode.cc", + api_key: "", + api_mode: "anthropic_messages", + }, + category: "third_party", + icon: "eflowcode", + iconColor: "#000000", + }, + { + name: "LionCCAPI", + websiteUrl: "https://vibecodingapi.ai", + settingsConfig: { + name: "lionccapi", + base_url: "https://vibecodingapi.ai", + api_key: "", + api_mode: "anthropic_messages", + }, + category: "third_party", + isPartner: true, + partnerPromotionKey: "lionccapi", + icon: "lioncc", + }, + { + name: "TheRouter", + websiteUrl: "https://therouter.ai", + apiKeyUrl: "https://dashboard.therouter.ai", + settingsConfig: { + name: "therouter", + base_url: "https://api.therouter.ai", + api_key: "", + api_mode: "anthropic_messages", + models: [ + { + id: "anthropic/claude-sonnet-4.6", + name: "Claude Sonnet 4.6", + }, + { + id: "anthropic/claude-haiku-4.5", + name: "Claude Haiku 4.5", + }, + { + id: "anthropic/claude-opus-4.7", + name: "Claude Opus 4.7", + }, + ], + }, + category: "aggregator", + suggestedDefaults: { + model: { + default: "anthropic/claude-sonnet-4.6", + provider: "therouter", + }, + }, + }, + { + name: "Novita AI", + websiteUrl: "https://novita.ai", + apiKeyUrl: "https://novita.ai", + settingsConfig: { + name: "novita", + base_url: "https://api.novita.ai/anthropic", + api_key: "", + api_mode: "anthropic_messages", + models: [{ id: "zai-org/glm-5", name: "Zai-Org / GLM-5" }], + }, + category: "aggregator", + icon: "novita", + iconColor: "#000000", + suggestedDefaults: { + model: { default: "zai-org/glm-5", provider: "novita" }, + }, + }, + { + name: "Nvidia", + websiteUrl: "https://build.nvidia.com", + apiKeyUrl: "https://build.nvidia.com/settings/api-keys", + settingsConfig: { + name: "nvidia", + base_url: "https://integrate.api.nvidia.com", + api_key: "", + api_mode: "chat_completions", + models: [{ id: "moonshotai/kimi-k2.5", name: "Moonshot Kimi K2.5" }], + }, + category: "aggregator", + icon: "nvidia", + iconColor: "#000000", + suggestedDefaults: { + model: { default: "moonshotai/kimi-k2.5", provider: "nvidia" }, + }, + }, + { + name: "PIPELLM", + websiteUrl: "https://code.pipellm.ai", + apiKeyUrl: "https://code.pipellm.ai/login?ref=uvw650za", + settingsConfig: { + name: "pipellm", + base_url: "https://cc-api.pipellm.ai", + api_key: "", + api_mode: "anthropic_messages", + models: [ + { id: "claude-opus-4-7", name: "Claude Opus 4.7" }, + { id: "claude-sonnet-4-6", name: "Claude Sonnet 4.6" }, + { + id: "claude-haiku-4-5-20251001", + name: "Claude Haiku 4.5", + }, + ], + }, + category: "aggregator", + icon: "pipellm", + suggestedDefaults: { + model: { default: "claude-opus-4-7", provider: "pipellm" }, + }, + }, + { + name: "Xiaomi MiMo", + websiteUrl: "https://platform.xiaomimimo.com", + apiKeyUrl: "https://platform.xiaomimimo.com/#/console/api-keys", + settingsConfig: { + name: "xiaomi_mimo", + base_url: "https://api.xiaomimimo.com/anthropic", + api_key: "", + api_mode: "anthropic_messages", + models: [{ id: "mimo-v2-pro", name: "MiMo v2 Pro" }], + }, + category: "cn_official", + icon: "xiaomimimo", + iconColor: "#000000", + suggestedDefaults: { + model: { default: "mimo-v2-pro", provider: "xiaomi_mimo" }, + }, + }, ]; diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index e50bf4e5b..48236c8da 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -795,7 +795,14 @@ "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!" }, "presets": { - "ucloud": "Compshare" + "ucloud": "Compshare", + "shengsuanyun": "Shengsuanyun", + "openrouter": "OpenRouter", + "anthropic": "Anthropic", + "openai": "OpenAI", + "googleai": "Google AI", + "deepseek": "DeepSeek", + "together": "Together AI" }, "parameterConfig": "Parameter Config - {{name}} *", "mainModel": "Main Model (optional)", diff --git a/src/i18n/locales/ja.json b/src/i18n/locales/ja.json index 3beed5464..806e67b29 100644 --- a/src/i18n/locales/ja.json +++ b/src/i18n/locales/ja.json @@ -795,7 +795,14 @@ "shengsuanyun": "胜算云はCC Switchユーザーに特別特典を提供しています。このリンクから登録すると、10元分の無料クレジットと初回チャージ10%ボーナスがもらえます!" }, "presets": { - "ucloud": "Compshare" + "ucloud": "Compshare", + "shengsuanyun": "Shengsuanyun", + "openrouter": "OpenRouter", + "anthropic": "Anthropic", + "openai": "OpenAI", + "googleai": "Google AI", + "deepseek": "DeepSeek", + "together": "Together AI" }, "parameterConfig": "パラメーター設定 - {{name}} *", "mainModel": "メインモデル(任意)", diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index 3abb2afcc..a5c16611b 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -796,7 +796,13 @@ }, "presets": { "ucloud": "优云智算", - "shengsuanyun": "胜算云" + "shengsuanyun": "胜算云", + "openrouter": "OpenRouter", + "anthropic": "Anthropic", + "openai": "OpenAI", + "googleai": "Google AI", + "deepseek": "DeepSeek", + "together": "Together AI" }, "parameterConfig": "参数配置 - {{name}} *", "mainModel": "主模型 (可选)",