Skip to content

why the team can't stop with external termination #5847

Closed Answered by ekzhu
moseshu asked this question in Q&A
Discussion options

You must be logged in to vote

You can use reset() on the team to clear the history -- however, this is not good for concurrency. As you may have multiple concurrent sessions.

I suggest creating new team for each new user session. You can preload the team with existing state from previous sessions.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@moseshu
Comment options

@ekzhu
Comment options

ekzhu Mar 7, 2025
Maintainer

Answer selected by moseshu
@moseshu
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants