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_anthropic_api_prompt_caching_basic_with_cache_creation

Ishaan Jafferbf934c079945
diff --git a/tests/local_testing/test_anthropic_prompt_caching.py b/tests/local_testing/test_anthropic_prompt_caching.py
index 8017a158244..0c0519d75cb 100644
--- a/tests/local_testing/test_anthropic_prompt_caching.py
+++ b/tests/local_testing/test_anthropic_prompt_caching.py
@@ -301,6 +301,7 @@ async def test_anthropic_api_prompt_caching_basic():
@pytest.mark.asyncio()
[email protected](retries=3, delay=1)
async def test_anthropic_api_prompt_caching_basic_with_cache_creation():
from uuid import uuid4