feat(providers): add MiniMax-M3.1-Flash and avoid reasoning_split=false (#6360)

Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
This commit is contained in:
SaladDayandchengyongru authored and GitHub committed 2026-10-23 14:15:12 +08:00
1 parent c20a0dad70
commit 0254bf1217
2 files changed
+40 -3

No files matched your search

+15
View File
@@ -752,6 +752,21 @@ PROVIDERS: tuple[ProviderSpec, ...] = (
backend="openai_compat",
default_api_base="https://api.minimax.io/v1",
thinking_style="reasoning_split",
builtin_models=(
ProviderModelSpec(
id="MiniMax-M3.1-Flash",
label="MiniMax-M3.1-Flash",
aliases=("minimax-m3.1-flash",),
context_window=1_000_000,
reasoning_efforts=("low", "medium", "high", "xhigh", "max"),
default_reasoning_effort="max",
input_modalities=("text", "image"),
),
),
reasoning_effort_remap=(
("none", "low"), ("minimal", "low"),
("low", "low"), ("medium", "medium"), ("high", "high"),
),
),
# MiniMax Anthropic-compatible endpoint: supports thinking mode
ProviderSpec(