From d307df92e91d61174610aa778aa7766aa213cb95 Mon Sep 17 00:00:00 2001 From: Jason Date: Sun, 14 Jun 2026 21:47:46 +0800 Subject: [PATCH] chore(presets): drop isPartner flag from MiniMax presets across all apps Remove the gold star badge and the partner promotion banner for MiniMax by deleting the isPartner flag from all 12 MiniMax presets (cn + en) across claude, claude-desktop, codex, opencode, openclaw, and hermes. Both the preset-selector star (gated on isPartner) and the API-key promotion banner (gated on isPartner && partnerPromotionKey) disappear as a result. The partnerPromotionKey and the minimax_cn/minimax_en i18n copy are kept dormant so the partnership can be re-enabled with a single line if needed. MiniMax stays as a regular cn_official provider, keeping its icon and theme. --- src/config/claudeDesktopProviderPresets.ts | 2 -- src/config/claudeProviderPresets.ts | 2 -- src/config/codexProviderPresets.ts | 2 -- src/config/hermesProviderPresets.ts | 2 -- src/config/openclawProviderPresets.ts | 2 -- src/config/opencodeProviderPresets.ts | 2 -- 6 files changed, 12 deletions(-) diff --git a/src/config/claudeDesktopProviderPresets.ts b/src/config/claudeDesktopProviderPresets.ts index e891d0ecf..a5cb3a878 100644 --- a/src/config/claudeDesktopProviderPresets.ts +++ b/src/config/claudeDesktopProviderPresets.ts @@ -512,7 +512,6 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [ mode: "proxy", apiFormat: "anthropic", modelRoutes: brandedRoutes("MiniMax-M2.7", "MiniMax-M2.7", "MiniMax-M2.7"), - isPartner: true, partnerPromotionKey: "minimax_cn", theme: { backgroundColor: "#f64551", @@ -530,7 +529,6 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [ mode: "proxy", apiFormat: "anthropic", modelRoutes: brandedRoutes("MiniMax-M2.7", "MiniMax-M2.7", "MiniMax-M2.7"), - isPartner: true, partnerPromotionKey: "minimax_en", theme: { backgroundColor: "#f64551", diff --git a/src/config/claudeProviderPresets.ts b/src/config/claudeProviderPresets.ts index 949f56d89..36bc7ee93 100644 --- a/src/config/claudeProviderPresets.ts +++ b/src/config/claudeProviderPresets.ts @@ -513,7 +513,6 @@ export const providerPresets: ProviderPreset[] = [ }, }, category: "cn_official", - isPartner: true, partnerPromotionKey: "minimax_cn", theme: { backgroundColor: "#f64551", @@ -539,7 +538,6 @@ export const providerPresets: ProviderPreset[] = [ }, }, category: "cn_official", - isPartner: true, partnerPromotionKey: "minimax_en", theme: { backgroundColor: "#f64551", diff --git a/src/config/codexProviderPresets.ts b/src/config/codexProviderPresets.ts index 016ce1cf7..1c7c39910 100644 --- a/src/config/codexProviderPresets.ts +++ b/src/config/codexProviderPresets.ts @@ -614,7 +614,6 @@ requires_openai_auth = true`, outputFormat: "reasoning_details", }, category: "cn_official", - isPartner: true, partnerPromotionKey: "minimax_cn", theme: { backgroundColor: "#f64551", @@ -650,7 +649,6 @@ requires_openai_auth = true`, outputFormat: "reasoning_details", }, category: "cn_official", - isPartner: true, partnerPromotionKey: "minimax_en", theme: { backgroundColor: "#f64551", diff --git a/src/config/hermesProviderPresets.ts b/src/config/hermesProviderPresets.ts index eaf882da3..c681a82dc 100644 --- a/src/config/hermesProviderPresets.ts +++ b/src/config/hermesProviderPresets.ts @@ -641,7 +641,6 @@ export const hermesProviderPresets: HermesProviderPreset[] = [ models: [{ id: "MiniMax-M2.7", name: "MiniMax M2.7" }], }, category: "cn_official", - isPartner: true, partnerPromotionKey: "minimax_cn", theme: { backgroundColor: "#f64551", textColor: "#FFFFFF" }, icon: "minimax", @@ -662,7 +661,6 @@ export const hermesProviderPresets: HermesProviderPreset[] = [ models: [{ id: "MiniMax-M2.7", name: "MiniMax M2.7" }], }, category: "cn_official", - isPartner: true, partnerPromotionKey: "minimax_en", theme: { backgroundColor: "#f64551", textColor: "#FFFFFF" }, icon: "minimax", diff --git a/src/config/openclawProviderPresets.ts b/src/config/openclawProviderPresets.ts index 83892862f..ad917ddd7 100644 --- a/src/config/openclawProviderPresets.ts +++ b/src/config/openclawProviderPresets.ts @@ -673,7 +673,6 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [ ], }, category: "cn_official", - isPartner: true, partnerPromotionKey: "minimax_cn", theme: { backgroundColor: "#f64551", @@ -711,7 +710,6 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [ ], }, category: "cn_official", - isPartner: true, partnerPromotionKey: "minimax_en", theme: { backgroundColor: "#f64551", diff --git a/src/config/opencodeProviderPresets.ts b/src/config/opencodeProviderPresets.ts index 290925128..d4c15a42c 100644 --- a/src/config/opencodeProviderPresets.ts +++ b/src/config/opencodeProviderPresets.ts @@ -871,7 +871,6 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [ }, }, category: "cn_official", - isPartner: true, partnerPromotionKey: "minimax_cn", theme: { backgroundColor: "#f64551", @@ -904,7 +903,6 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [ }, }, category: "cn_official", - isPartner: true, partnerPromotionKey: "minimax_en", theme: { backgroundColor: "#f64551",