Skip to content

Commit

Permalink
Termination Conditions Tutorial (#4334)
Browse files Browse the repository at this point in the history
  • Loading branch information
gziz committed Nov 25, 2024
1 parent 1e60b67 commit 6c6b5b8
Show file tree
Hide file tree
Showing 4 changed files with 164 additions and 86 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
ExternalTermination,
HandoffTermination,
MaxMessageTermination,
SourceMatchTermination,
StopMessageTermination,
TextMentionTermination,
TimeoutTermination,
TokenUsageTermination,
SourceMatchTermination,
)

__all__ = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import time
from typing import Sequence, List
from typing import List, Sequence

from ..base import TerminatedException, TerminationCondition
from ..messages import AgentMessage, HandoffMessage, MultiModalMessage, StopMessage, TextMessage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
ExternalTermination,
HandoffTermination,
MaxMessageTermination,
SourceMatchTermination,
StopMessageTermination,
TextMentionTermination,
TimeoutTermination,
TokenUsageTermination,
SourceMatchTermination,
)
from autogen_core.components.models import RequestUsage

Expand Down
Loading

0 comments on commit 6c6b5b8

Please sign in to comment.