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 channel; close_reason populates ChannelMetadata.close_reason on the resulting EV_CHANNEL_CLOSED.

next_speaker instance-attribute #

next_speaker

close_reason class-attribute instance-attribute #

close_reason = ''