mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-14 23:26:34 +00:00
x
This commit is contained in:
parent
ad68ddbf40
commit
3c2e05e43f
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user