Skip to content

armgit / Orkas

Public Imported from GitHub
0

Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.

Add MiniMax M3 model support

wytb2e1edd2c701
diff --git a/package-lock.json b/package-lock.json
index 22ee7b5a..37766c15 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10,7 +10,7 @@
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
- "@earendil-works/pi-ai": "^0.78.0",
+ "@earendil-works/pi-ai": "^0.78.1",
"@modelcontextprotocol/sdk": "^1.29.0",
"adm-zip": "^0.5.16",
"async-mutex": "^0.5.0",
@@ -583,9 +583,9 @@
}
},
"node_modules/@earendil-works/pi-ai": {
- "version": "0.78.0",
- "resolved": "https://registry.npmjs.org/@earendil-works/pi-ai/-/pi-ai-0.78.0.tgz",
- "integrity": "sha512-q0hUrvT6ngT6cgBX0oIbzfQfmzztgdkZobP8OTL+sCOOBlnG6+1YRt8g7zO9CC/4NdeYEqa7uGqWdQhH0fjCLA==",
+ "version": "0.78.1",
+ "resolved": "https://registry.npmjs.org/@earendil-works/pi-ai/-/pi-ai-0.78.1.tgz",
+ "integrity": "sha512-CM2pkTs1iupG/maw381lC9Q/Y/aQaMGK7GILc28ttImD0ci3LDwKroDsGkWbly5JIy3iqxdRxB9JlG7vvzCzTg==",
"license": "MIT",
"dependencies": {
"@anthropic-ai/sdk": "0.91.1",
diff --git a/package.json b/package.json
index 316825d8..999689aa 100644
--- a/package.json
+++ b/package.json
@@ -30,7 +30,7 @@
"vitest": "^4.1.5"
},
"dependencies": {
- "@earendil-works/pi-ai": "^0.78.0",
+ "@earendil-works/pi-ai": "^0.78.1",
"@modelcontextprotocol/sdk": "^1.29.0",
"adm-zip": "^0.5.16",
"async-mutex": "^0.5.0",
diff --git a/src/main/features/client_config.ts b/src/main/features/client_config.ts
index 8291a1cc..2fa8e1ba 100644
--- a/src/main/features/client_config.ts
+++ b/src/main/features/client_config.ts
@@ -554,16 +554,19 @@ export const DEFAULT_PROVIDER_MODELS: Readonly<Record<string, readonly ProviderM
{ id: 'kimi-for-coding', name: 'Kimi For Coding' },
],
'minimax-cn': [
- { id: 'MiniMax-M2.7', name: 'MiniMax M2.7' },
- { id: 'MiniMax-M2.7-highspeed', name: 'MiniMax M2.7 Highspeed' },
+ { id: 'MiniMax-M3', name: 'MiniMax 3' },
+ { id: 'MiniMax-M2.7', name: 'MiniMax 2.7' },
+ { id: 'MiniMax-M2.7-highspeed', name: 'MiniMax 2.7 Highspeed' },
],
'minimax-portal': [
- { id: 'MiniMax-M2.7', name: 'MiniMax M2.7' },
- { id: 'MiniMax-M2.7-highspeed', name: 'MiniMax M2.7 Highspeed' },
+ { id: 'MiniMax-M3', name: 'MiniMax 3' },
+ { id: 'MiniMax-M2.7', name: 'MiniMax 2.7' },
+ { id: 'MiniMax-M2.7-highspeed', name: 'MiniMax 2.7 Highspeed' },
],
'minimax-portal-cn': [
- { id: 'MiniMax-M2.7', name: 'MiniMax M2.7' },
- { id: 'MiniMax-M2.7-highspeed', name: 'MiniMax M2.7 Highspeed' },
+ { id: 'MiniMax-M3', name: 'MiniMax 3' },
+ { id: 'MiniMax-M2.7', name: 'MiniMax 2.7' },
+ { id: 'MiniMax-M2.7-highspeed', name: 'MiniMax 2.7 Highspeed' },
],
deepseek: [
{ id: 'deepseek-v4-pro', name: 'DeepSeek V4 Pro' },
@@ -590,7 +593,8 @@ export const DEFAULT_PROVIDER_MODELS: Readonly<Record<string, readonly ProviderM
{ id: 'qwen/qwen3-coder', name: 'Qwen3 Coder' },
{ id: 'z-ai/glm-5.1', name: 'GLM-5.1' },
{ id: 'z-ai/glm-5', name: 'GLM-5' },
- { id: 'minimax/minimax-m2.7', name: 'MiniMax M2.7' },
+ { id: 'minimax/minimax-m3', name: 'MiniMax 3' },
+ { id: 'minimax/minimax-m2.7', name: 'MiniMax 2.7' },
{ id: 'xiaomi/mimo-v2.5-pro', name: 'Xiaomi MiMo V2.5 Pro' },
{ id: 'xiaomi/mimo-v2.5', name: 'Xiaomi MiMo V2.5' },
],
diff --git a/test/main/model/provider_catalog.test.ts b/test/main/model/provider_catalog.test.ts
index e114af98..9582d696 100644
--- a/test/main/model/provider_catalog.test.ts
+++ b/test/main/model/provider_catalog.test.ts
@@ -107,6 +107,21 @@ describe('provider_catalog › CURATED_MODELS', () => {
expect(ids).toEqual(['kimi-k2.6', 'kimi-k2.5']);
});
+ it('minimax catalog exposes M3 before the M2.7 generation', () => {
+ const directIds = (CURATED_MODELS['minimax-cn'] || []).map((m) => m.id);
+ expect(directIds).toEqual([
+ 'MiniMax-M3',
+ 'MiniMax-M2.7',
+ 'MiniMax-M2.7-highspeed',
+ ]);
+
+ const globalPortalIds = (CURATED_MODELS['minimax-portal'] || []).map((m) => m.id);
+ expect(globalPortalIds).toEqual(directIds);
+
+ const portalIds = (CURATED_MODELS['minimax-portal-cn'] || []).map((m) => m.id);
+ expect(portalIds).toEqual(directIds);
+ });
+
it('openrouter catalog includes DeepSeek / Qwen / GLM / Kimi / MiniMax', () => {
const ids = (CURATED_MODELS.openrouter || []).map((m) => m.id);
expect(ids.some((id) => id.startsWith('deepseek/'))).toBe(true);
@@ -114,6 +129,8 @@ describe('provider_catalog › CURATED_MODELS', () => {
expect(ids.some((id) => id.startsWith('z-ai/'))).toBe(true);
expect(ids.some((id) => id.startsWith('moonshotai/'))).toBe(true);
expect(ids.some((id) => id.startsWith('minimax/'))).toBe(true);
+ expect(ids).toContain('minimax/minimax-m3');
+ expect(ids).toContain('minimax/minimax-m2.7');
});
it('openrouter Claude catalog is limited to Opus 4.8 and 4.7', () => {