Skip to content

Commit 7e37a14

Browse files
committed
add test
1 parent 7bc4a92 commit 7e37a14

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_streaming.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1817,6 +1817,7 @@ async def ret_a(x: str) -> str:
18171817
return f'{x}-apple'
18181818

18191819
events = [event async for event in test_agent.run_stream_events('Hello')]
1820+
assert test_agent.name == 'test_agent'
18201821

18211822
assert events == snapshot(
18221823
[

0 commit comments

Comments
 (0)