From 63ed57d9e629a430027096eccc1b6e4378c76d6b Mon Sep 17 00:00:00 2001 From: samarth9008 Date: Fri, 3 Apr 2026 14:02:55 -0400 Subject: [PATCH] fix --- .../openai/responses/test_openai_responses_transformation.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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()