Skip to content

Commit

Permalink
fix: test for multitask
Browse files Browse the repository at this point in the history
  • Loading branch information
jxnl committed Feb 7, 2024
1 parent ca14042 commit f65ba6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/openai/test_multitask.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async def stream_extract(input: str) -> Iterable[User]:
)

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
Expand Down

0 comments on commit f65ba6b

Please sign in to comment.