diff --git a/tests/test_litellm/llms/openai/responses/test_openai_responses_transformation.py b/tests/test_litellm/llms/openai/responses/test_openai_responses_transformation.py index c9abd2e00f8..4196c21af0b 100644 --- a/tests/test_litellm/llms/openai/responses/test_openai_responses_transformation.py +++ b/tests/test_litellm/llms/openai/responses/test_openai_responses_transformation.py @@ -13,6 +13,8 @@ sys.path.insert( import litellm from litellm.llms.azure.responses.transformation import AzureOpenAIResponsesAPIConfig from litellm.llms.openai.responses.transformation import OpenAIResponsesAPIConfig +from litellm.llms.custom_httpx.http_handler import HTTPHandler +from litellm.llms.custom_httpx.llm_http_handler import BaseLLMHTTPHandler from litellm.types.llms.openai import ( ImageGenerationPartialImageEvent, OutputTextDeltaEvent, @@ -1313,9 +1315,6 @@ class TestGetResponsesZeroCost: Verify that get_responses (sync) sets response_cost=0.0 in _hidden_params, so the cost pipeline does not re-bill for a retrieval request. """ - from litellm.llms.custom_httpx.http_handler import HTTPHandler - from litellm.llms.custom_httpx.llm_http_handler import BaseLLMHTTPHandler - handler = BaseLLMHTTPHandler() config = OpenAIResponsesAPIConfig() logging_obj = MagicMock()