Skip to content

Commit 7fdb768

Browse files
authored
Merge pull request #180 from hotzen/minimax25
Default MiniMax to M2.5 and enable reasoning
2 parents 2cf9b51 + 6e9a8dd commit 7fdb768

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

interface/src/routes/Settings.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,16 +179,16 @@ const PROVIDERS = [
179179
{
180180
id: "minimax",
181181
name: "MiniMax",
182-
description: "MiniMax M1 (Anthropic message format)",
183-
placeholder: "eyJ...",
182+
description: "MiniMax (Anthropic message format)",
183+
placeholder: "sk-...",
184184
envVar: "MINIMAX_API_KEY",
185-
defaultModel: "minimax/MiniMax-M1-80k",
185+
defaultModel: "minimax/MiniMax-M2.5",
186186
},
187187
{
188188
id: "minimax-cn",
189189
name: "MiniMax CN",
190-
description: "MiniMax M2.5 (Anthropic message format)",
191-
placeholder: "eyJ...",
190+
description: "MiniMax China (Anthropic message format)",
191+
placeholder: "sk-...",
192192
envVar: "MINIMAX_CN_API_KEY",
193193
defaultModel: "minimax-cn/MiniMax-M2.5",
194194
},

src/api/models.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -234,12 +234,12 @@ fn extra_models() -> Vec<ModelInfo> {
234234
},
235235
// MiniMax
236236
ModelInfo {
237-
id: "minimax/MiniMax-M1-80k".into(),
238-
name: "MiniMax M1 80K".into(),
237+
id: "minimax/MiniMax-M2.5".into(),
238+
name: "MiniMax M2.5".into(),
239239
provider: "minimax".into(),
240-
context_window: Some(80000),
240+
context_window: Some(200000),
241241
tool_call: true,
242-
reasoning: false,
242+
reasoning: true,
243243
input_audio: false,
244244
},
245245
// MiniMax CN
@@ -249,7 +249,7 @@ fn extra_models() -> Vec<ModelInfo> {
249249
provider: "minimax-cn".into(),
250250
context_window: Some(200000),
251251
tool_call: true,
252-
reasoning: false,
252+
reasoning: true,
253253
input_audio: false,
254254
},
255255
// Moonshot AI (Kimi)

src/llm/routing.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ pub fn defaults_for_provider(provider: &str) -> RoutingConfig {
354354
}
355355
}
356356
"nvidia" => RoutingConfig::for_model("nvidia/meta/llama-3.1-405b-instruct".into()),
357-
"minimax" => RoutingConfig::for_model("minimax/MiniMax-M1-80k".into()),
357+
"minimax" => RoutingConfig::for_model("minimax/MiniMax-M2.5".into()),
358358
"minimax-cn" => RoutingConfig::for_model("minimax-cn/MiniMax-M2.5".into()),
359359
"moonshot" => RoutingConfig::for_model("moonshot/kimi-k2.5".into()),
360360
"zai-coding-plan" => RoutingConfig::for_model("zai-coding-plan/glm-5".into()),

0 commit comments

Comments
 (0)