diff --git a/server/app/model/user/key.py b/server/app/model/user/key.py index 1ee51c3a1..ab4286bd5 100644 --- a/server/app/model/user/key.py +++ b/server/app/model/user/key.py @@ -28,6 +28,7 @@ class ModelType(StrEnum): gpt5_4 = "gpt-5.4" gemini_3_pro = "gemini-3-pro-preview" minimax_m2_5 = "minimax_m2_5" + minimax_m2_7 = "minimax_m2_7" class KeyStatus(IntEnum): diff --git a/src/i18n/locales/ar/setting.json b/src/i18n/locales/ar/setting.json index 766aad86e..4361580d5 100644 --- a/src/i18n/locales/ar/setting.json +++ b/src/i18n/locales/ar/setting.json @@ -185,6 +185,7 @@ "claude-sonnet-4-6-name": "Claude Sonnet 4.6", "claude-opus-4-6-name": "Claude Opus 4.6", "minimax-m2-5-name": "Minimax M2.5", + "minimax-m2-7-name": "Minimax M2.7", "account": "حساب", "you-are-currently-signed-in-with": "{{email}} أنت مسجل الدخول حاليًا باستخدام", diff --git a/src/i18n/locales/de/setting.json b/src/i18n/locales/de/setting.json index 9d58d7cf4..dd572d085 100644 --- a/src/i18n/locales/de/setting.json +++ b/src/i18n/locales/de/setting.json @@ -245,6 +245,7 @@ "claude-sonnet-4-6-name": "Claude Sonnet 4.6", "claude-opus-4-6-name": "Claude Opus 4.6", "minimax-m2-5-name": "Minimax M2.5", + "minimax-m2-7-name": "Minimax M2.7", "network-proxy": "Netzwerk-Proxy", "network-proxy-description": "Konfigurieren Sie einen Proxy-Server für Netzwerkanfragen. Dies ist nützlich, wenn Sie über einen Proxy auf externe APIs zugreifen müssen.", "proxy-placeholder": "http://127.0.0.1:7890", diff --git a/src/i18n/locales/en-us/setting.json b/src/i18n/locales/en-us/setting.json index 11f0485c2..4db838a80 100644 --- a/src/i18n/locales/en-us/setting.json +++ b/src/i18n/locales/en-us/setting.json @@ -213,6 +213,7 @@ "claude-sonnet-4-6-name": "Claude Sonnet 4.6", "claude-opus-4-6-name": "Claude Opus 4.6", "minimax-m2-5-name": "Minimax M2.5", + "minimax-m2-7-name": "Minimax M2.7", "account": "Account", "you-are-currently-signed-in-with": "You are currently signed in with {{email}}", diff --git a/src/i18n/locales/es/setting.json b/src/i18n/locales/es/setting.json index 926a8e104..509da8280 100644 --- a/src/i18n/locales/es/setting.json +++ b/src/i18n/locales/es/setting.json @@ -245,6 +245,7 @@ "claude-sonnet-4-6-name": "Claude Sonnet 4.6", "claude-opus-4-6-name": "Claude Opus 4.6", "minimax-m2-5-name": "Minimax M2.5", + "minimax-m2-7-name": "Minimax M2.7", "network-proxy": "Proxy de red", "network-proxy-description": "Configure un servidor proxy para las solicitudes de red. Esto es útil si necesita acceder a APIs externas a través de un proxy.", "proxy-placeholder": "http://127.0.0.1:7890", diff --git a/src/i18n/locales/fr/setting.json b/src/i18n/locales/fr/setting.json index 2cdbd4234..98aad9c5d 100644 --- a/src/i18n/locales/fr/setting.json +++ b/src/i18n/locales/fr/setting.json @@ -228,6 +228,7 @@ "claude-sonnet-4-6-name": "Claude Sonnet 4.6", "claude-opus-4-6-name": "Claude Opus 4.6", "minimax-m2-5-name": "Minimax M2.5", + "minimax-m2-7-name": "Minimax M2.7", "network-proxy": "Proxy réseau", "network-proxy-description": "Configurez un serveur proxy pour les requêtes réseau. Utile si vous devez accéder à des API externes via un proxy.", "proxy-placeholder": "http://127.0.0.1:7890", diff --git a/src/i18n/locales/it/setting.json b/src/i18n/locales/it/setting.json index 68d6db58f..90fd3e729 100644 --- a/src/i18n/locales/it/setting.json +++ b/src/i18n/locales/it/setting.json @@ -245,6 +245,7 @@ "claude-sonnet-4-6-name": "Claude Sonnet 4.6", "claude-opus-4-6-name": "Claude Opus 4.6", "minimax-m2-5-name": "Minimax M2.5", + "minimax-m2-7-name": "Minimax M2.7", "network-proxy": "Proxy di rete", "network-proxy-description": "Configura un server proxy per le richieste di rete. Utile se devi accedere ad API esterne tramite un proxy.", "proxy-placeholder": "http://127.0.0.1:7890", diff --git a/src/i18n/locales/ja/setting.json b/src/i18n/locales/ja/setting.json index a9ecb59d2..85341e3bb 100644 --- a/src/i18n/locales/ja/setting.json +++ b/src/i18n/locales/ja/setting.json @@ -246,6 +246,7 @@ "claude-sonnet-4-6-name": "Claude Sonnet 4.6", "claude-opus-4-6-name": "Claude Opus 4.6", "minimax-m2-5-name": "Minimax M2.5", + "minimax-m2-7-name": "Minimax M2.7", "network-proxy": "ネットワークプロキシ", "network-proxy-description": "ネットワークリクエスト用のプロキシサーバーを設定します。プロキシ経由で外部APIにアクセスする必要がある場合に便利です。", "proxy-placeholder": "http://127.0.0.1:7890", diff --git a/src/i18n/locales/ko/setting.json b/src/i18n/locales/ko/setting.json index 7566dca35..5e944b668 100644 --- a/src/i18n/locales/ko/setting.json +++ b/src/i18n/locales/ko/setting.json @@ -246,6 +246,7 @@ "claude-sonnet-4-6-name": "Claude Sonnet 4.6", "claude-opus-4-6-name": "Claude Opus 4.6", "minimax-m2-5-name": "Minimax M2.5", + "minimax-m2-7-name": "Minimax M2.7", "network-proxy": "네트워크 프록시", "network-proxy-description": "네트워크 요청을 위한 프록시 서버를 구성합니다. 프록시를 통해 외부 API에 접근해야 하는 경우 유용합니다.", "proxy-placeholder": "http://127.0.0.1:7890", diff --git a/src/i18n/locales/ru/setting.json b/src/i18n/locales/ru/setting.json index 84381dc2e..86ecad2bd 100644 --- a/src/i18n/locales/ru/setting.json +++ b/src/i18n/locales/ru/setting.json @@ -245,6 +245,7 @@ "claude-sonnet-4-6-name": "Claude Sonnet 4.6", "claude-opus-4-6-name": "Claude Opus 4.6", "minimax-m2-5-name": "Minimax M2.5", + "minimax-m2-7-name": "Minimax M2.7", "network-proxy": "Сетевой прокси", "network-proxy-description": "Настройте прокси-сервер для сетевых запросов. Это полезно, если вам нужен доступ к внешним API через прокси.", "proxy-placeholder": "http://127.0.0.1:7890", diff --git a/src/i18n/locales/zh-Hans/setting.json b/src/i18n/locales/zh-Hans/setting.json index 109ceff52..44726e65a 100644 --- a/src/i18n/locales/zh-Hans/setting.json +++ b/src/i18n/locales/zh-Hans/setting.json @@ -203,6 +203,7 @@ "claude-sonnet-4-6-name": "Claude Sonnet 4.6", "claude-opus-4-6-name": "Claude Opus 4.6", "minimax-m2-5-name": "Minimax M2.5", + "minimax-m2-7-name": "Minimax M2.7", "preferred-ide": "首选 IDE", "preferred-ide-description": "选择打开智能体项目文件夹时使用的应用程序。", diff --git a/src/i18n/locales/zh-Hant/setting.json b/src/i18n/locales/zh-Hant/setting.json index 2a4091eb0..716edb6ff 100644 --- a/src/i18n/locales/zh-Hant/setting.json +++ b/src/i18n/locales/zh-Hant/setting.json @@ -174,6 +174,7 @@ "claude-sonnet-4-6-name": "Claude Sonnet 4.6", "claude-opus-4-6-name": "Claude Opus 4.6", "minimax-m2-5-name": "Minimax M2.5", + "minimax-m2-7-name": "Minimax M2.7", "network-proxy": "網路代理", "network-proxy-description": "設定網路請求的代理伺服器。如果您需要透過代理存取外部 API,這將非常有用。", diff --git a/src/pages/Agents/Models.tsx b/src/pages/Agents/Models.tsx index 8e2c12859..3ebc2a57a 100644 --- a/src/pages/Agents/Models.tsx +++ b/src/pages/Agents/Models.tsx @@ -504,6 +504,7 @@ export default function SettingModels() { { id: 'claude-sonnet-4-6', name: 'Claude Sonnet 4.6' }, { id: 'claude-opus-4-6', name: 'Claude Opus 4.6' }, { id: 'minimax_m2_5', name: 'Minimax M2.5' }, + { id: 'minimax_m2_7', name: 'Minimax M2.7' }, ]; const handleVerify = async (idx: number) => { @@ -1299,6 +1300,9 @@ export default function SettingModels() { {t('setting.minimax-m2-5-name')} + + {t('setting.minimax-m2-7-name')} + diff --git a/src/store/authStore.ts b/src/store/authStore.ts index 91c594dc4..5b9f73d16 100644 --- a/src/store/authStore.ts +++ b/src/store/authStore.ts @@ -34,7 +34,8 @@ type CloudModelType = | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5-mini' - | 'minimax_m2_5'; + | 'minimax_m2_5' + | 'minimax_m2_7'; // auth info interface interface AuthInfo {