Skip to content

Commit 6168cae

Browse files
committed
closed lkapi session after dispatch in the agent dispatch example
1 parent 2f52cbd commit 6168cae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/agent_dispatch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ async def create_explicit_dispatch():
2525

2626
dispatches = await lkapi.agent_dispatch.list_dispatch(room_name=room_name)
2727
print(f"there are {len(dispatches)} dispatches in {room_name}")
28+
await lkapi.aclose()
2829

2930

3031
"""

0 commit comments

Comments
 (0)