Support "minimal" reasoning effort

This commit is contained in:
gabrii
2025-09-15 10:24:51 +02:00
parent 6c396fd641
commit dab0265142
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -234,9 +234,9 @@ class RequestAdapter:
responses_body["stream"] = True
reasoning_effort = inbound_model.replace("gpt-", "").lower()
if reasoning_effort not in {"high", "medium", "low"}:
if reasoning_effort not in {"high", "medium", "low", "minimal"}:
raise ValueError(
"Model name must be either gpt-high, gpt-medium, or gpt-low"
"Model name must be either gpt-high, gpt-medium, gpt-low, or gpt-minimal"
)
responses_body["reasoning"] = {