Skip to content

Commit b0fb4ec

Browse files
authored
feat: upgrade MiniMax default reasoning model to M3 (Tracer-Cloud#2698)
Bump MINIMAX_REASONING_MODEL from MiniMax-M2.7 to MiniMax-M3 to track the latest MiniMax flagship. The high-speed classification / tool-call slots stay on MiniMax-M2.7-highspeed since there is no M3 high-speed variant yet. - Update MINIMAX_REASONING_MODEL constant in app/config.py - Update reasoning model references in docs/llm-providers.mdx - Update affected unit tests in tests/test_config.py and tests/services/test_llm_client.py
1 parent 06cf763 commit b0fb4ec

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

app/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def get_environment() -> Environment:
121121
NVIDIA_TOOLCALL_MODEL = "meta/llama-3.1-8b-instruct"
122122

123123
# MiniMax model constants
124-
MINIMAX_REASONING_MODEL = "MiniMax-M2.7"
124+
MINIMAX_REASONING_MODEL = "MiniMax-M3"
125125
MINIMAX_CLASSIFICATION_MODEL = "MiniMax-M2.7-highspeed"
126126
MINIMAX_TOOLCALL_MODEL = "MiniMax-M2.7-highspeed"
127127

docs/llm-providers.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ OpenSRE is provider-agnostic: bring your own model. Selection is controlled by t
1515
| DeepSeek | `deepseek` | `DEEPSEEK_API_KEY` | `deepseek-v4-pro` | `deepseek-v4-flash` |
1616
| Google Gemini| `gemini` | `GEMINI_API_KEY` | `gemini-3.1-pro-preview` | `gemini-3.1-flash-lite-preview` |
1717
| NVIDIA NIM | `nvidia` | `NVIDIA_API_KEY` | `meta/llama-3.1-405b-instruct` | `meta/llama-3.1-8b-instruct` |
18-
| MiniMax | `minimax` | `MINIMAX_API_KEY` | `MiniMax-M2.7` | `MiniMax-M2.7-highspeed` |
18+
| MiniMax | `minimax` | `MINIMAX_API_KEY` | `MiniMax-M3` | `MiniMax-M2.7-highspeed` |
1919
| Amazon Bedrock| `bedrock` | AWS IAM (`AWS_REGION`) | `us.anthropic.claude-sonnet-4-6` | `us.anthropic.claude-haiku-4-5-20251001-v1:0` |
2020
| Ollama (local)| `ollama` | None (local daemon) | `llama3.2` | `llama3.2` |
2121
| OpenAI Codex CLI| `codex` | `codex login` (CLI) | Codex CLI default | Codex CLI default |
@@ -149,9 +149,9 @@ Uses NVIDIA's OpenAI-compatible API at `https://integrate.api.nvidia.com/v1`. Br
149149
export LLM_PROVIDER=minimax
150150
export MINIMAX_API_KEY=...
151151
# Optional override (single value applies to both slots if set):
152-
export MINIMAX_MODEL=MiniMax-M2.7
152+
export MINIMAX_MODEL=MiniMax-M3
153153
# Or per-slot:
154-
export MINIMAX_REASONING_MODEL=MiniMax-M2.7
154+
export MINIMAX_REASONING_MODEL=MiniMax-M3
155155
export MINIMAX_TOOLCALL_MODEL=MiniMax-M2.7-highspeed
156156
```
157157

tests/services/test_llm_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def test_minimax_llm_client_reads_api_key_and_base_url(monkeypatch) -> None:
380380
monkeypatch.setattr(llm_client, "OpenAI", _FakeOpenAI)
381381

382382
client = llm_client.OpenAILLMClient(
383-
model="MiniMax-M2.7",
383+
model="MiniMax-M3",
384384
base_url="https://api.minimax.io/v1",
385385
api_key_env="MINIMAX_API_KEY",
386386
temperature=1.0,
@@ -400,7 +400,7 @@ def test_minimax_llm_client_temperature_is_set(monkeypatch) -> None:
400400
monkeypatch.setattr(llm_client, "OpenAI", _FakeOpenAI)
401401

402402
client = llm_client.OpenAILLMClient(
403-
model="MiniMax-M2.7",
403+
model="MiniMax-M3",
404404
base_url="https://api.minimax.io/v1",
405405
api_key_env="MINIMAX_API_KEY",
406406
temperature=1.0,

tests/test_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def test_llm_settings_minimax_provider_accepted() -> None:
8282
)
8383
assert settings.provider == "minimax"
8484
assert settings.minimax_api_key == "mm-test-key"
85-
assert settings.minimax_reasoning_model == "MiniMax-M2.7"
85+
assert settings.minimax_reasoning_model == "MiniMax-M3"
8686
assert settings.minimax_toolcall_model == "MiniMax-M2.7-highspeed"
8787

8888

0 commit comments

Comments
 (0)