Skip to content

TransitionDecision

autogen.beta.network.transitions.TransitionDecision dataclass #

TransitionDecision(next_speaker, close_reason='')

What a target wants the workflow to do next.

next_speaker=None terminates the session; close_reason populates SessionMetadata.close_reason on the resulting EV_SESSION_CLOSED.

next_speaker instance-attribute #

next_speaker

close_reason class-attribute instance-attribute #

close_reason = ''