From 7adc38eb534af8d78e257b1aea99ac79c60dbd56 Mon Sep 17 00:00:00 2001 From: Jason Date: Thu, 27 Nov 2025 08:51:54 +0800 Subject: [PATCH] feat(preset): add MiniMax as official partner with Black Friday promotion - Mark MiniMax as partner with custom theme color (#f64551) - Add Black Friday promotional text for Starter plan ($2/mo, 80% OFF) - Update apiKeyUrl to MiniMax coding plan subscription page --- src/config/claudeProviderPresets.ts | 8 +++++++- src/i18n/locales/en.json | 3 ++- src/i18n/locales/zh.json | 3 ++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/config/claudeProviderPresets.ts b/src/config/claudeProviderPresets.ts index 07f5636b8..22594dc5d 100644 --- a/src/config/claudeProviderPresets.ts +++ b/src/config/claudeProviderPresets.ts @@ -220,7 +220,7 @@ export const providerPresets: ProviderPreset[] = [ { name: "MiniMax", websiteUrl: "https://platform.minimaxi.com", - apiKeyUrl: "https://platform.minimaxi.com/user-center/basic-information", + apiKeyUrl: "https://platform.minimax.io/subscribe/coding-plan", settingsConfig: { env: { ANTHROPIC_BASE_URL: "https://api.minimaxi.com/anthropic", @@ -234,6 +234,12 @@ export const providerPresets: ProviderPreset[] = [ }, }, category: "cn_official", + isPartner: true, + partnerPromotionKey: "minimax", + theme: { + backgroundColor: "#f64551", + textColor: "#FFFFFF", + }, }, { name: "DouBaoSeed", diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 8e94c6660..1577b96c6 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -261,7 +261,8 @@ "getApiKey": "Get API Key", "partnerPromotion": { "zhipu": "Zhipu GLM is an official partner of CC Switch. Use this link to top up and get a 10% discount", - "packycode": "PackyCode is an official partner of CC Switch. Register using this link and enter \"cc-switch\" promo code during recharge to get 10% off" + "packycode": "PackyCode is an official partner of CC Switch. Register using this link and enter \"cc-switch\" promo code during recharge to get 10% off", + "minimax": "MiniMax Coding Plan Black Friday, Starter is now $2/mo (80% OFF!)" }, "parameterConfig": "Parameter Config - {{name}} *", "mainModel": "Main Model (optional)", diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index a362e33dc..65ca5a4e2 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -261,7 +261,8 @@ "getApiKey": "获取 API Key", "partnerPromotion": { "zhipu": "智谱 GLM 是 CC Switch 的官方合作伙伴,使用此链接充值可以获得9折优惠", - "packycode": "PackyCode 是 CC Switch 的官方合作伙伴,使用此链接注册并在充值时填写 \"cc-switch\" 优惠码,可以享受9折优惠" + "packycode": "PackyCode 是 CC Switch 的官方合作伙伴,使用此链接注册并在充值时填写 \"cc-switch\" 优惠码,可以享受9折优惠", + "minimax": "MiniMax Coding Plan 黑五特惠,Starter 套餐现仅 $2/月(2折优惠!)" }, "parameterConfig": "参数配置 - {{name}} *", "mainModel": "主模型 (可选)",