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"}, } ], },