The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test fix
Ishaan Jaffcf64033044f6
diff --git a/tests/test_litellm/responses/litellm_completion_transformation/test_session_handler.py b/tests/test_litellm/responses/litellm_completion_transformation/test_session_handler.pyindex c683b571345..2e1fe2241ab 100644--- a/tests/test_litellm/responses/litellm_completion_transformation/test_session_handler.py+++ b/tests/test_litellm/responses/litellm_completion_transformation/test_session_handler.py@@ -10,7 +10,7 @@ from fastapi.testclient import TestClientsys.path.insert(0, os.path.abspath("../../..")) # Adds the parent directory to the system path-+import litellmfrom litellm.responses.litellm_completion_transformation import session_handlerfrom litellm.responses.litellm_completion_transformation.session_handler import (ResponsesSessionHandler,@@ -361,6 +361,6 @@ async def test_should_check_cold_storage_for_full_payload():assert result4 == True, "Should return True for None proxy request"# Test case 5: Should return False when cold storage is not configured- with patch("litellm.configured_cold_storage_logger", return_value=None):+ with patch.object(litellm, 'configured_cold_storage_logger', None):result5 = ResponsesSessionHandler._should_check_cold_storage_for_full_payload(proxy_request_with_truncated_pdf)assert result5 == False, "Should return False when cold storage is not configured, even with truncated content"