Skip to content

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]

test prompt manager

Ishaan Jaffer3235807d68b1
diff --git a/tests/test_litellm/integrations/dotprompt/test_prompt_manager.py b/tests/test_litellm/integrations/dotprompt/test_prompt_manager.py
index 0d9868dc5ad..efe005affc9 100644
--- a/tests/test_litellm/integrations/dotprompt/test_prompt_manager.py
+++ b/tests/test_litellm/integrations/dotprompt/test_prompt_manager.py
@@ -602,6 +602,7 @@ async def test_dotprompt_auto_detection_with_model_only():
prompt_variables={"user_message": "Hello world"},
messages=[{"role": "user", "content": "This will be ignored"}],
client=client,
+ api_key="test-api-key",
)
mock_post.assert_called_once()
@@ -685,6 +686,7 @@ async def test_dotprompt_with_prompt_version():
prompt_variables={"user_message": "Test v1"},
messages=[],
client=client,
+ api_key="test-api-key",
)
mock_post.assert_called_once()
@@ -741,6 +743,7 @@ async def test_dotprompt_with_prompt_version():
prompt_variables={"user_message": "Test v2"},
messages=[],
client=client,
+ api_key="test-api-key",
)
mock_post.assert_called_once()