From 1a43bfb55b1aa066702dbf063ffd5c0de060fb6d Mon Sep 17 00:00:00 2001 From: Chester Curme Date: Thu, 8 May 2025 10:39:42 -0400 Subject: [PATCH] x --- .../anthropic/tests/integration_tests/test_chat_models.py | 1 + 1 file changed, 1 insertion(+) 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 ab3f4032935..826622c7c1f 100644 --- a/libs/partners/anthropic/tests/integration_tests/test_chat_models.py +++ b/libs/partners/anthropic/tests/integration_tests/test_chat_models.py @@ -150,6 +150,7 @@ async def test_async_stream_twice() -> None: async for token in model.astream("hi"): assert isinstance(token, AIMessageChunk) + model = ChatAnthropic(model_name=MODEL_NAME) # type: ignore[call-arg] async for token in model.astream("hi"): assert isinstance(token, AIMessageChunk)