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: fix test

Krrish Dholakia0341e7fc09e1
diff --git a/tests/local_testing/test_anthropic_prompt_caching.py b/tests/local_testing/test_anthropic_prompt_caching.py
index 83faeba747c..c0189f05cab 100644
--- a/tests/local_testing/test_anthropic_prompt_caching.py
+++ b/tests/local_testing/test_anthropic_prompt_caching.py
@@ -250,7 +250,7 @@ async def test_anthropic_api_prompt_caching_basic():
"type": "text",
"text": "Here is the full text of a complex legal agreement"
* 400,
- : {"type": "ephemeral"},
+ "cache_control": {"type": "ephemeral"},
}
],
},