mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-17 21:20:17 +00:00
feat: add MiniMax M2.7 model support (#1568)
Some checks failed
Test / Run Python Tests (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Pre-commit / pre-commit (push) Has been cancelled
Some checks failed
Test / Run Python Tests (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Pre-commit / pre-commit (push) Has been cancelled
Co-authored-by: octo-patch <octo-patch@github.com>
This commit is contained in:
parent
d1c118d04e
commit
8b10717c8a
15 changed files with 17 additions and 17 deletions
|
|
@ -182,7 +182,7 @@
|
|||
"claude-opus-4-6-name": "Claude Opus 4.6",
|
||||
"claude-opus-4-7-name": "Claude Opus 4.7",
|
||||
"deepseek-v4-pro-name": "DeepSeek V4 Pro",
|
||||
"minimax-m2-5-name": "Minimax M2.5",
|
||||
"minimax-m2-7-name": "Minimax M2.7",
|
||||
|
||||
"account": "حساب",
|
||||
"you-are-currently-signed-in-with": "{{email}} أنت مسجل الدخول حاليًا باستخدام",
|
||||
|
|
|
|||
|
|
@ -242,7 +242,7 @@
|
|||
"claude-opus-4-6-name": "Claude Opus 4.6",
|
||||
"claude-opus-4-7-name": "Claude Opus 4.7",
|
||||
"deepseek-v4-pro-name": "DeepSeek V4 Pro",
|
||||
"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",
|
||||
|
|
|
|||
|
|
@ -210,7 +210,7 @@
|
|||
"claude-opus-4-6-name": "Claude Opus 4.6",
|
||||
"claude-opus-4-7-name": "Claude Opus 4.7",
|
||||
"deepseek-v4-pro-name": "DeepSeek V4 Pro",
|
||||
"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}}",
|
||||
|
|
|
|||
|
|
@ -242,7 +242,7 @@
|
|||
"claude-opus-4-6-name": "Claude Opus 4.6",
|
||||
"claude-opus-4-7-name": "Claude Opus 4.7",
|
||||
"deepseek-v4-pro-name": "DeepSeek V4 Pro",
|
||||
"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",
|
||||
|
|
|
|||
|
|
@ -225,7 +225,7 @@
|
|||
"claude-opus-4-6-name": "Claude Opus 4.6",
|
||||
"claude-opus-4-7-name": "Claude Opus 4.7",
|
||||
"deepseek-v4-pro-name": "DeepSeek V4 Pro",
|
||||
"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",
|
||||
|
|
|
|||
|
|
@ -242,7 +242,7 @@
|
|||
"claude-opus-4-6-name": "Claude Opus 4.6",
|
||||
"claude-opus-4-7-name": "Claude Opus 4.7",
|
||||
"deepseek-v4-pro-name": "DeepSeek V4 Pro",
|
||||
"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",
|
||||
|
|
|
|||
|
|
@ -243,7 +243,7 @@
|
|||
"claude-opus-4-6-name": "Claude Opus 4.6",
|
||||
"claude-opus-4-7-name": "Claude Opus 4.7",
|
||||
"deepseek-v4-pro-name": "DeepSeek V4 Pro",
|
||||
"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",
|
||||
|
|
|
|||
|
|
@ -243,7 +243,7 @@
|
|||
"claude-opus-4-6-name": "Claude Opus 4.6",
|
||||
"claude-opus-4-7-name": "Claude Opus 4.7",
|
||||
"deepseek-v4-pro-name": "DeepSeek V4 Pro",
|
||||
"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",
|
||||
|
|
|
|||
|
|
@ -242,7 +242,7 @@
|
|||
"claude-opus-4-6-name": "Claude Opus 4.6",
|
||||
"claude-opus-4-7-name": "Claude Opus 4.7",
|
||||
"deepseek-v4-pro-name": "DeepSeek V4 Pro",
|
||||
"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",
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@
|
|||
"claude-opus-4-6-name": "Claude Opus 4.6",
|
||||
"claude-opus-4-7-name": "Claude Opus 4.7",
|
||||
"deepseek-v4-pro-name": "DeepSeek V4 Pro",
|
||||
"minimax-m2-5-name": "Minimax M2.5",
|
||||
"minimax-m2-7-name": "Minimax M2.7",
|
||||
|
||||
"preferred-ide": "首选 IDE",
|
||||
"preferred-ide-description": "选择打开智能体项目文件夹时使用的应用程序。",
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@
|
|||
"claude-opus-4-6-name": "Claude Opus 4.6",
|
||||
"claude-opus-4-7-name": "Claude Opus 4.7",
|
||||
"deepseek-v4-pro-name": "DeepSeek V4 Pro",
|
||||
"minimax-m2-5-name": "Minimax M2.5",
|
||||
"minimax-m2-7-name": "Minimax M2.7",
|
||||
|
||||
"network-proxy": "網路代理",
|
||||
"network-proxy-description": "設定網路請求的代理伺服器。如果您需要透過代理存取外部 API,這將非常有用。",
|
||||
|
|
|
|||
|
|
@ -501,7 +501,7 @@ export default function SettingModels() {
|
|||
{ id: 'claude-opus-4-6', name: 'Claude Opus 4.6' },
|
||||
{ id: 'claude-opus-4-7', name: 'Claude Opus 4.7' },
|
||||
{ id: 'deepseek-v4-pro', name: 'DeepSeek V4 Pro' },
|
||||
{ id: 'minimax_m2_5', name: 'Minimax M2.5' },
|
||||
{ id: 'minimax_m2_7', name: 'Minimax M2.7' },
|
||||
];
|
||||
|
||||
const handleVerify = async (idx: number) => {
|
||||
|
|
@ -1288,8 +1288,8 @@ export default function SettingModels() {
|
|||
<SelectItem value="deepseek-v4-pro">
|
||||
{t('setting.deepseek-v4-pro-name')}
|
||||
</SelectItem>
|
||||
<SelectItem value="minimax_m2_5">
|
||||
{t('setting.minimax-m2-5-name')}
|
||||
<SelectItem value="minimax_m2_7">
|
||||
{t('setting.minimax-m2-7-name')}
|
||||
</SelectItem>
|
||||
</SelectContent>
|
||||
</Select>
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ export type CloudModelType =
|
|||
| 'gpt-5.5'
|
||||
| 'gpt-5-mini'
|
||||
| 'deepseek-v4-pro'
|
||||
| 'minimax_m2_5';
|
||||
| 'minimax_m2_7';
|
||||
|
||||
// auth info interface
|
||||
interface AuthInfo {
|
||||
|
|
|
|||
|
|
@ -215,7 +215,7 @@ const CLOUD_MODEL_PLATFORM_MAP: Record<CloudModelType, CloudModelPlatform> = {
|
|||
'gpt-5.5': 'azure',
|
||||
'gpt-5-mini': 'azure',
|
||||
'deepseek-v4-pro': 'deepseek',
|
||||
'minimax_m2_5': 'minimax',
|
||||
'minimax_m2_7': 'minimax',
|
||||
};
|
||||
|
||||
export function getCloudModelPlatform(
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@ describe('ChatStore - Core Functionality', () => {
|
|||
'aws-bedrock-converse'
|
||||
);
|
||||
expect(getCloudModelPlatform('deepseek-v4-pro')).toBe('deepseek');
|
||||
expect(getCloudModelPlatform('minimax_m2_5')).toBe('minimax');
|
||||
expect(getCloudModelPlatform('minimax_m2_7')).toBe('minimax');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue