mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-15 15:46:47 +00:00
x
This commit is contained in:
parent
3c2e05e43f
commit
1a43bfb55b
@ -150,6 +150,7 @@ async def test_async_stream_twice() -> None:
|
|||||||
async for token in model.astream("hi"):
|
async for token in model.astream("hi"):
|
||||||
assert isinstance(token, AIMessageChunk)
|
assert isinstance(token, AIMessageChunk)
|
||||||
|
|
||||||
|
model = ChatAnthropic(model_name=MODEL_NAME) # type: ignore[call-arg]
|
||||||
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