mirror of
https://github.com/Syngnat/GoNavi.git
synced 2026-06-12 17:39:42 +08:00
✨ 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:
@@ -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{
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user