This commit is contained in:
Chester Curme 2025-05-08 10:39:42 -04:00
parent 3c2e05e43f
commit 1a43bfb55b

View File

@ -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)