From 9c4b4303d3b0e39cdcc88058cab37cb4e3826f10 Mon Sep 17 00:00:00 2001 From: Cole McIntosh <82463175+colesmcintosh@users.noreply.github.com> Date: Wed, 16 Jul 2025 11:23:13 -0600 Subject: [PATCH] fix: remove unused imports in completion_extras transformation (#12655) - Remove unused GenericResponseOutputItem import - Remove unused OutputFunctionToolCall import - Fixes F401 linting errors --- .../litellm_responses_transformation/transformation.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/litellm/completion_extras/litellm_responses_transformation/transformation.py b/litellm/completion_extras/litellm_responses_transformation/transformation.py index 42f5c2b6a50..f35510e41ba 100644 --- a/litellm/completion_extras/litellm_responses_transformation/transformation.py +++ b/litellm/completion_extras/litellm_responses_transformation/transformation.py @@ -230,10 +230,6 @@ class LiteLLMResponsesTransformationHandler(CompletionTransformationBridge): from litellm.responses.utils import ResponseAPILoggingUtils from litellm.types.llms.openai import ResponsesAPIResponse - from litellm.types.responses.main import ( - GenericResponseOutputItem, - OutputFunctionToolCall, - ) from litellm.types.utils import Choices, Message if not isinstance(raw_response, ResponsesAPIResponse):