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 Jaffer65b842b6b4d0
diff --git a/tests/test_litellm/integrations/dotprompt/test_prompt_manager.py b/tests/test_litellm/integrations/dotprompt/test_prompt_manager.pyindex efe005affc9..a6820f1b62c 100644--- a/tests/test_litellm/integrations/dotprompt/test_prompt_manager.py+++ b/tests/test_litellm/integrations/dotprompt/test_prompt_manager.py@@ -567,6 +567,7 @@ async def test_dotprompt_auto_detection_with_model_only():try:# Mock the HTTP handler to avoid actual API callsclient = AsyncHTTPHandler()+ client.api_key = "test-api-key" # Ensure client has api_key attribute for OpenAI client# Create a proper mock responsemock_response = Mock(spec=httpx.Response)@@ -651,6 +652,7 @@ async def test_dotprompt_with_prompt_version():try:# Test version 1client = AsyncHTTPHandler()+ client.api_key = "test-api-key" # Ensure client has api_key attribute for OpenAI client# Create a proper mock response for version 1mock_response_v1 = Mock(spec=httpx.Response)@@ -708,6 +710,7 @@ async def test_dotprompt_with_prompt_version():# Test version 2client = AsyncHTTPHandler()+ client.api_key = "test-api-key" # Ensure client has api_key attribute for OpenAI client# Create a proper mock response for version 2mock_response_v2 = Mock(spec=httpx.Response)