fix: map MiniMax reasoning_effort to reasoning_split

This commit is contained in:
k
2026-04-22 00:52:56 +08:00
committed by Xubin Ren
parent 558aa98491
commit e5b288c6eb
2 changed files with 17 additions and 0 deletions
@@ -398,6 +398,8 @@ class OpenAICompatProvider(LLMProvider):
extra: dict[str, Any] | None = None
if spec.name == "dashscope":
extra = {"enable_thinking": thinking_enabled}
elif spec.name == "minimax":
extra = {"reasoning_split": thinking_enabled}
elif spec.name in (
"volcengine", "volcengine_coding_plan",
"byteplus", "byteplus_coding_plan",