fix(responses): remove unused suppression

This commit is contained in:
onatozmenn 2026-09-26 17:41:04 +03:00
parent acfbdc2cc0
commit b9ffdf819e
No known key found for this signature in database

View file

@ -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