From 74763f6cfc0033b2c810c456c01188e6e65cf4f6 Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Fri, 14 Nov 2025 17:27:32 -0800 Subject: [PATCH] fix _map_reasoning_effort --- .../litellm_responses_transformation/transformation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/completion_extras/litellm_responses_transformation/transformation.py b/litellm/completion_extras/litellm_responses_transformation/transformation.py index a64661da33d..8c3ebd51036 100644 --- a/litellm/completion_extras/litellm_responses_transformation/transformation.py +++ b/litellm/completion_extras/litellm_responses_transformation/transformation.py @@ -545,7 +545,7 @@ class LiteLLMResponsesTransformationHandler(CompletionTransformationBridge): # If string is passed, map without summary (default) if reasoning_effort == "none": - return Reasoning(effort="none") + return Reasoning(effort="none") # type: ignore elif reasoning_effort == "high": return Reasoning(effort="high") elif reasoning_effort == "medium":