mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
Add test for reasoning effort none
This commit is contained in:
parent
ecb8c05d37
commit
0dbed192e9
1 changed files with 1 additions and 0 deletions
|
|
@ -224,6 +224,7 @@ class OpenAIGPT5Config(OpenAIGPTConfig):
|
|||
if not self._supports_reasoning_effort_level(model, effective_effort):
|
||||
if litellm.drop_params or drop_params:
|
||||
non_default_params.pop("reasoning_effort", None)
|
||||
optional_params.pop("reasoning_effort", None)
|
||||
else:
|
||||
raise litellm.utils.UnsupportedParamsError(
|
||||
message=(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue