diff --git a/test/components/generators/anthropic/test_anthropic.py b/test/components/generators/anthropic/test_anthropic.py index 718b4790..c27d0d1b 100644 --- a/test/components/generators/anthropic/test_anthropic.py +++ b/test/components/generators/anthropic/test_anthropic.py @@ -336,7 +336,12 @@ def test_convert_anthropic_chunk_to_streaming_chunk(self): "model": "claude-3-5-sonnet-20240620", "stop_reason": None, "stop_sequence": None, - "usage": {"input_tokens": 25, "output_tokens": 1}, + "usage": { + "input_tokens": 25, + "output_tokens": 1, + "cache_creation_input_tokens": None, + "cache_read_input_tokens": None, + }, }, }