Skip to content

Conversation

@s-hamdananwar
Copy link
Contributor

No description provided.

dispatches = await agent_dispatch_service.list_dispatch(room_name=room_name)

dispatches = await lkapi.agent_dispatch.list_dispatch(room_name=room_name)
print(f"there are {len(dispatches)} dispatches in {room_name}")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lg, btw we need a await lkapi.aclose() at the end to close out the session

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just added, thanks for the catch!

@s-hamdananwar s-hamdananwar merged commit bb53150 into main Dec 11, 2024
4 checks passed
@s-hamdananwar s-hamdananwar deleted the hamdan/fix-agent-dispatch-example-typo branch December 11, 2024 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants