mirror of
https://github.com/kennethreitz/instructor.git
synced 2026-06-05 14:50:16 +00:00
fix: test for multitask
This commit is contained in:
@@ -71,7 +71,7 @@ async def test_multi_user_tools_mode_async(model, mode, aclient):
|
||||
)
|
||||
|
||||
resp = []
|
||||
async for user in await stream_extract(input="Jason is 20, Sarah is 30"):
|
||||
for user in await stream_extract(input="Jason is 20, Sarah is 30"):
|
||||
resp.append(user)
|
||||
print(resp)
|
||||
assert len(resp) == 2
|
||||
|
||||
Reference in New Issue
Block a user