-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handoff termination and show how to use it for asking user input (#4128)
* Handoff termination and show how to use it for asking user input * lint
- Loading branch information
Showing
4 changed files
with
204 additions
and
6 deletions.
There are no files selected for viewing
9 changes: 8 additions & 1 deletion
9
python/packages/autogen-agentchat/src/autogen_agentchat/task/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
from ._console import Console | ||
from ._terminations import MaxMessageTermination, StopMessageTermination, TextMentionTermination, TokenUsageTermination | ||
from ._terminations import ( | ||
HandoffTermination, | ||
MaxMessageTermination, | ||
StopMessageTermination, | ||
TextMentionTermination, | ||
TokenUsageTermination, | ||
) | ||
|
||
__all__ = [ | ||
"MaxMessageTermination", | ||
"TextMentionTermination", | ||
"StopMessageTermination", | ||
"TokenUsageTermination", | ||
"HandoffTermination", | ||
"Console", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters