Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,14 @@ Set `AZURE_OPENAI_API_KEY` and `AZURE_OPENAI_ENDPOINT` in your `.env`. The `mode
{
"ai": {
"provider": "minimax",
"model": "MiniMax-M2.7",
"model": "MiniMax-M3",
"api_key_env": "MINIMAX_API_KEY",
"throttle_sec": 0
}
}
```

Available models: `MiniMax-M2.7`, `MiniMax-M2.7-highspeed`, `MiniMax-M2.5`, `MiniMax-M2.5-highspeed`
Available models: `MiniMax-M3`, `MiniMax-M2.7`, `MiniMax-M2.7-highspeed`

**Aliyun DashScope** (OpenAI-compatible):

Expand Down
6 changes: 3 additions & 3 deletions tests/test_minimax_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
def _make_config(**overrides) -> AIConfig:
defaults = {
"provider": AIProvider.MINIMAX,
"model": "MiniMax-M2.7",
"model": "MiniMax-M3",
"api_key_env": "MINIMAX_API_KEY",
"temperature": 0.3,
"max_tokens": 4096,
Expand All @@ -28,7 +28,7 @@ class TestOpenAIClientInit:
def test_creates_instance_with_valid_config(self, monkeypatch):
monkeypatch.setenv("MINIMAX_API_KEY", "test-key")
client = OpenAIClient(_make_config())
assert client.model == "MiniMax-M2.7"
assert client.model == "MiniMax-M3"
assert client.max_tokens == 4096
assert client.provider == "minimax"

Expand Down Expand Up @@ -100,7 +100,7 @@ def test_basic_completion(self, monkeypatch):

assert result == '{"score": 8}'
call_kwargs = mock_create.call_args[1]
assert call_kwargs["model"] == "MiniMax-M2.7"
assert call_kwargs["model"] == "MiniMax-M3"
# response_format should NOT be present (MiniMax doesn't support it)
assert "response_format" not in call_kwargs

Expand Down