feat: upgrade MiniMax default model to M3 (#3357)

- Add MiniMax-M3 to model list and set as default
- Keep MiniMax-M2.7 and MiniMax-M2.7-highspeed
- Remove older models (M2.5)
- Update related tests

Co-authored-by: octo-patch <octo-patch@github.com>
This commit is contained in:
Octopus
2026-06-03 17:04:16 +08:00
committed by GitHub
parent f97b0c0f74
commit 0ffa995fe9
4 changed files with 73 additions and 37 deletions
+4 -4
View File
@@ -5,7 +5,7 @@ from deerflow.models.patched_minimax import PatchedChatMiniMax
def _make_model(**kwargs) -> PatchedChatMiniMax:
return PatchedChatMiniMax(
model="MiniMax-M2.5",
model="MiniMax-M3",
api_key="test-key",
base_url="https://example.com/v1",
**kwargs,
@@ -42,7 +42,7 @@ def test_create_chat_result_maps_reasoning_details_to_reasoning_content():
"finish_reason": "stop",
}
],
"model": "MiniMax-M2.5",
"model": "MiniMax-M3",
}
result = model._create_chat_result(response)
@@ -65,7 +65,7 @@ def test_create_chat_result_strips_inline_think_tags():
"finish_reason": "stop",
}
],
"model": "MiniMax-M2.5",
"model": "MiniMax-M3",
}
result = model._create_chat_result(response)
@@ -133,7 +133,7 @@ def test_convert_chunk_to_generation_chunk_preserves_reasoning_deltas():
"finish_reason": "stop",
}
],
"model": "MiniMax-M2.5",
"model": "MiniMax-M3",
},
AIMessageChunk,
{},