mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
Fix paranthesis:
This commit is contained in:
parent
0ecea85bd0
commit
a34f7e4831
1 changed files with 3 additions and 1 deletions
|
|
@ -200,7 +200,9 @@ class OpenAIGPT5Config(OpenAIGPTConfig):
|
|||
if "reasoning_effort" in optional_params:
|
||||
optional_params["reasoning_effort"] = normalized
|
||||
|
||||
if effective_effort is not None and effective_effort == "xhigh" or effective_effort == "minimal":
|
||||
if effective_effort is not None and (
|
||||
effective_effort == "xhigh" or effective_effort == "minimal"
|
||||
):
|
||||
if not self._supports_reasoning_effort_level(model, effective_effort):
|
||||
if litellm.drop_params or drop_params:
|
||||
non_default_params.pop("reasoning_effort", None)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue