This commit is contained in:
samarth9008 2026-04-03 14:02:55 -04:00
parent ec60ecaca5
commit 63ed57d9e6

View file

@ -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()