Skip to content

Commit 4a64043

Browse files
authored
Merge pull request #13 from octo-patch/feature/upgrade-minimax-m27
feat: upgrade MiniMax default model to M2.7
2 parents 99520d0 + eb97acb commit 4a64043

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ understudy wizard
328328
| **OpenAI** | `OPENAI_API_KEY` | GPT-4.x, GPT-5.x, `o*`, and related OpenAI models available in your current Understudy runtime |
329329
| **OpenAI Codex** | `OPENAI_API_KEY` or OAuth | Codex/Responses models such as `gpt-5.4`; shares auth with OpenAI |
330330
| **Google / Gemini** | `GOOGLE_API_KEY` or `GEMINI_API_KEY` | `gemini` is accepted as a provider alias for `google` |
331-
| **MiniMax** | `MINIMAX_API_KEY` | `MiniMax-M2.5`, `MiniMax-M2.5-highspeed`; use `minimax-cn` provider for the China endpoint |
331+
| **MiniMax** | `MINIMAX_API_KEY` | `MiniMax-M2.7`, `MiniMax-M2.7-highspeed`, `MiniMax-M2.5`, `MiniMax-M2.5-highspeed`; use `minimax-cn` provider for the China endpoint |
332332
| **Additional compatible providers** | Provider-specific auth | Depending on your current Understudy runtime, examples may include GitHub Copilot, OpenRouter, xAI, Mistral, Groq, Bedrock, Vertex, and more |
333333
| **Custom providers / models** | Provider-specific auth | You can add custom model entries through the underlying model registry |
334334

README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ understudy wizard
327327
| **OpenAI** | `OPENAI_API_KEY` | 当前 Understudy 运行时可用的 GPT-4.x、GPT-5.x、`o*` 等 OpenAI 模型 |
328328
| **OpenAI Codex** | `OPENAI_API_KEY` 或 OAuth | 例如 `gpt-5.4` 这类 Codex / Responses 模型;与 OpenAI 共用认证 |
329329
| **Google / Gemini** | `GOOGLE_API_KEY``GEMINI_API_KEY` | `gemini` 可作为 `google` 的提供方别名 |
330-
| **MiniMax** | `MINIMAX_API_KEY` | `MiniMax-M2.5``MiniMax-M2.5-highspeed`;使用 `minimax-cn` 提供方可切换至国内端点 |
330+
| **MiniMax** | `MINIMAX_API_KEY` | `MiniMax-M2.7``MiniMax-M2.7-highspeed``MiniMax-M2.5``MiniMax-M2.5-highspeed`;使用 `minimax-cn` 提供方可切换至国内端点 |
331331
| **更多兼容提供方** | 提供方自己的认证方式 | 取决于当前 Understudy 运行时,常见示例包括 GitHub Copilot、OpenRouter、xAI、Mistral、Groq、Bedrock、Vertex 等 |
332332
| **自定义提供方 / 模型** | 提供方自己的认证方式 | 可以通过底层 model registry 增加自定义模型条目 |
333333

apps/cli/src/commands/model-support.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ export const BUILTIN_MODELS: Record<string, string[]> = {
3030
"gemini-1.5-pro",
3131
],
3232
minimax: [
33+
"MiniMax-M2.7",
34+
"MiniMax-M2.7-highspeed",
3335
"MiniMax-M2.5",
3436
"MiniMax-M2.5-highspeed",
3537
],
@@ -97,7 +99,7 @@ export function mergeKnownModels(
9799
return Object.fromEntries(
98100
Array.from(merged.entries())
99101
.sort(([left], [right]) => left.localeCompare(right))
100-
.map(([provider, models]) => [provider, Array.from(models).sort()]),
102+
.map(([provider, models]) => [provider, Array.from(models)]),
101103
);
102104
}
103105

0 commit comments

Comments
 (0)