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]

fix qdrant semantic caching test

Ishaan Jaff228a0bd6f7c0
diff --git a/litellm/tests/test_caching.py b/litellm/tests/test_caching.py
index 80284a79f52..7df759add30 100644
--- a/litellm/tests/test_caching.py
+++ b/litellm/tests/test_caching.py
@@ -1761,6 +1761,7 @@ async def test_qdrant_semantic_cache_acompletion():
"content": f"write a one sentence poem about: {random_number}",
}
],
+ mock_response="hello",
max_tokens=20,
)
print(f"Response1: {response1}")
@@ -1810,6 +1811,7 @@ async def test_qdrant_semantic_cache_acompletion_stream():
max_tokens=40,
temperature=1,
stream=True,
+ mock_response="hi",
)
async for chunk in response1:
response_1_id = chunk.id