diff --git a/litellm/responses/litellm_completion_transformation/transformation.py b/litellm/responses/litellm_completion_transformation/transformation.py index 248a0f961aa..23fe13243f0 100644 --- a/litellm/responses/litellm_completion_transformation/transformation.py +++ b/litellm/responses/litellm_completion_transformation/transformation.py @@ -2166,7 +2166,6 @@ class LiteLLMCompletionResponsesConfig: if finish_reason == "content_filter": return IncompleteDetails(reason="content_filter") if finish_reason == "refusal": - # no matching reason in the Responses API enum return IncompleteDetails(reason=None) return None