Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial Chapter on Termination Conditions #4334

Open
ekzhu opened this issue Nov 24, 2024 · 1 comment
Open

Tutorial Chapter on Termination Conditions #4334

ekzhu opened this issue Nov 24, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation proj-agentchat
Milestone

Comments

@ekzhu
Copy link
Collaborator

ekzhu commented Nov 24, 2024

The current chapter on termination conditions is outdated. Examples of how to use termination conditions already exists in the previous chapters, so in this chapter just focus on the mechanism, and list the built-in termination conditions.

It is important to note the termination conditions are reset automatically after each run and run_stream.

@ekzhu ekzhu added this to the 0.4.0 milestone Nov 24, 2024
@ekzhu ekzhu added documentation Improvements or additions to documentation and removed needs-triage labels Nov 24, 2024
@victordibia
Copy link
Collaborator

Also that they can be combined.
E.g.

termination = termination = MaxMessageTermination(3) | TextMentionTermination("stop")
termination = termination = MaxMessageTermination(3)  & TextMentionTermination("stop")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation proj-agentchat
Projects
None yet
Development

No branches or pull requests

2 participants