mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-15 07:36:08 +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:
|
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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user