From 0341e7fc09e13b53efe0d65659dad2d70909ca73 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Tue, 16 Sep 2025 18:34:24 -0700 Subject: [PATCH] fix: fix test --- tests/local_testing/test_anthropic_prompt_caching.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/local_testing/test_anthropic_prompt_caching.py b/tests/local_testing/test_anthropic_prompt_caching.py index 83faeba747..c0189f05ca 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"}, } ], },