Skip to content

ExpectedTurn

autogen.beta.network.adapters.base.ExpectedTurn dataclass #

ExpectedTurn(agent_id, triggering_envelope_id=None)

Who the protocol expects to act next, and what put the turn on them.

agent_id is the participant the adapter expects to send the next substantive envelope. triggering_envelope_id names the envelope that put the turn on this participant — typically the previous speaker's send. None when no specific envelope drove the expectation (e.g. fresh channel, expected speaker is the creator with nothing yet posted).

agent_id instance-attribute #

agent_id

triggering_envelope_id class-attribute instance-attribute #

triggering_envelope_id = None