From 3c2e05e43f5ddec97d7576c40515122adae2e478 Mon Sep 17 00:00:00 2001 From: Chester Curme Date: Thu, 8 May 2025 10:38:05 -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 5d3669a6acb..ab3f4032935 100644 --- a/libs/partners/anthropic/tests/integration_tests/test_chat_models.py +++ b/libs/partners/anthropic/tests/integration_tests/test_chat_models.py @@ -146,7 +146,7 @@ async def test_stream_usage_override() -> None: async def test_async_stream_twice() -> None: - model = ChatAnthropic(model_name=MODEL_NAME) + model = ChatAnthropic(model_name=MODEL_NAME, stream_usage=False) async for token in model.astream("hi"): assert isinstance(token, AIMessageChunk)