feat(ai): upgrade MiniMax default model to M3

Add MiniMax-M3 to the MiniMax (Anthropic-compatible) provider model
list and set it as the new default. Retain MiniMax-M2.7 and
MiniMax-M2.7-highspeed for compatibility, and remove the deprecated
M2.5 / M2.5-highspeed / M2.1 / M2.1-highspeed / M2 entries.

Updates the matching backend static-model unit test and the frontend
provider preset (default model + model list).
This commit is contained in:
octo-patch
2026-06-02 12:51:10 +08:00
parent bf3e21f15c
commit f6877ecfef
3 changed files with 3 additions and 11 deletions

View File

@@ -40,13 +40,9 @@ type Service struct {
}
var miniMaxAnthropicModels = []string{
"MiniMax-M3",
"MiniMax-M2.7",
"MiniMax-M2.7-highspeed",
"MiniMax-M2.5",
"MiniMax-M2.5-highspeed",
"MiniMax-M2.1",
"MiniMax-M2.1-highspeed",
"MiniMax-M2",
}
var dashScopeCodingPlanModels = []string{

View File

@@ -80,13 +80,9 @@ func TestDefaultStaticModelsForProvider_ReturnsMiniMaxAnthropicModels(t *testing
BaseURL: "https://api.minimaxi.com/anthropic",
})
expected := []string{
"MiniMax-M3",
"MiniMax-M2.7",
"MiniMax-M2.7-highspeed",
"MiniMax-M2.5",
"MiniMax-M2.5-highspeed",
"MiniMax-M2.1",
"MiniMax-M2.1-highspeed",
"MiniMax-M2",
}
if !reflect.DeepEqual(models, expected) {
t.Fatalf("expected MiniMax static models %v, got %v", expected, models)