fix(providers): preserve supported Kimi K3 reasoning efforts

This commit is contained in:
Kail Tian authored and chengyongru committed 2026-10-14 18:00:21 +08:00
1 parent 790a970989
commit 3881ed7dd1
4 files changed
+17 -15

No files matched your search

+1 -1
View File
@@ -886,7 +886,7 @@ def reasoning_effort_values_for(provider_name: str, model: str) -> list[str]:
model_lower = (model or "").lower()
if model_lower.rsplit("/", 1)[-1] == "kimi-k3":
return ["", "max"]
return ["", "low", "high", "max"]
implicit = getattr(spec, "implicit_reasoning_models", ())
if implicit and any(pattern in model_lower for pattern in implicit):