Skip to content

DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.

feat: upgrade MiniMax default model to M3

octo-patchdbf1f85c9288
diff --git a/tests/core/test_agentic_client_provider_kwargs.py b/tests/core/test_agentic_client_provider_kwargs.py
index b9bebe53a..aced6578f 100644
--- a/tests/core/test_agentic_client_provider_kwargs.py
+++ b/tests/core/test_agentic_client_provider_kwargs.py
@@ -117,7 +117,7 @@ def test_build_openai_client_routes_anthropic_backend_through_adapter(monkeypatc
def test_anthropic_backend_can_use_native_tool_calling() -> None:
assert can_use_native_tool_calling(binding="custom_anthropic", model="claude-test") is True
- assert can_use_native_tool_calling(binding="minimax_anthropic", model="MiniMax-M2") is True
+ assert can_use_native_tool_calling(binding="minimax_anthropic", model="MiniMax-M3") is True
def test_custom_qwen_can_use_native_tool_calling() -> None:
diff --git a/tests/services/config/test_provider_runtime.py b/tests/services/config/test_provider_runtime.py
index 30dcf55dc..bcb072abe 100644
--- a/tests/services/config/test_provider_runtime.py
+++ b/tests/services/config/test_provider_runtime.py
@@ -143,7 +143,7 @@ def test_llm_minimax_binding_uses_minimaxi_endpoint() -> None:
"api_key": "minimax-key",
"api_version": "",
"extra_headers": {},
- "models": [{"id": "llm-m", "name": "m", "model": "MiniMax-M2.7"}],
+ "models": [{"id": "llm-m", "name": "m", "model": "MiniMax-M3"}],
}
)
resolved = resolve_llm_runtime_config(catalog=catalog)
diff --git a/tests/services/llm/test_capabilities.py b/tests/services/llm/test_capabilities.py
index 93296fbc5..627f8820f 100644
--- a/tests/services/llm/test_capabilities.py
+++ b/tests/services/llm/test_capabilities.py
@@ -61,6 +61,12 @@ def test_moonshot_vision_models() -> None:
def test_minimax_openai_compat_supports_tools_without_response_format() -> None:
"""MiniMax M-series models support OpenAI-compatible tool calls, but
the provider still should not receive json_object response_format."""
+ # M3 is the current default model (512K context, image input support).
+ assert supports_tools("minimax", "MiniMax-M3") is True
+ assert supports_response_format("minimax", "MiniMax-M3") is False
+ # M2.7 and M2.7-highspeed remain as alternatives.
+ assert supports_tools("minimax", "MiniMax-M2.7") is True
+ assert supports_response_format("minimax", "MiniMax-M2.7") is False
assert supports_tools("minimax", "MiniMax-M2.7-highspeed") is True
assert supports_response_format("minimax", "MiniMax-M2.7-highspeed") is False