From 31077f5df2653d417d7decf9a88edb5295f100f4 Mon Sep 17 00:00:00 2001 From: Chester Curme Date: Thu, 8 May 2025 10:41:10 -0400 Subject: [PATCH] x --- .../anthropic/tests/integration_tests/test_chat_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/partners/anthropic/tests/integration_tests/test_chat_models.py b/libs/partners/anthropic/tests/integration_tests/test_chat_models.py index 826622c7c1f..8b64c1f940e 100644 --- a/libs/partners/anthropic/tests/integration_tests/test_chat_models.py +++ b/libs/partners/anthropic/tests/integration_tests/test_chat_models.py @@ -151,7 +151,7 @@ async def test_async_stream_twice() -> None: assert isinstance(token, AIMessageChunk) model = ChatAnthropic(model_name=MODEL_NAME) # type: ignore[call-arg] - async for token in model.astream("hi"): + async for token in model.astream("hi", stream_usage=False): assert isinstance(token, AIMessageChunk)