mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
fix(responses): remove unused suppression
This commit is contained in:
parent
acfbdc2cc0
commit
b9ffdf819e
1 changed files with 1 additions and 1 deletions
|
|
@ -257,7 +257,7 @@ class OpenAIResponsesAPIConfig(BaseResponsesAPIConfig):
|
|||
if unsupported_effort:
|
||||
if should_drop_effort:
|
||||
if isinstance(reasoning, dict):
|
||||
updated_reasoning: Final = reasoning.copy() # mutable-ok: local copy
|
||||
updated_reasoning: Final = reasoning.copy()
|
||||
updated_reasoning.pop("effort", None)
|
||||
if updated_reasoning:
|
||||
params["reasoning"] = updated_reasoning
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue