This commit is contained in:
Chester Curme 2025-05-08 10:38:05 -04:00
parent ad68ddbf40
commit 3c2e05e43f

View File

@ -146,7 +146,7 @@ async def test_stream_usage_override() -> None:
async def test_async_stream_twice() -> 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"): async for token in model.astream("hi"):
assert isinstance(token, AIMessageChunk) assert isinstance(token, AIMessageChunk)