Skip to content

ConsultingState

autogen.beta.network.adapters.consulting.ConsultingState dataclass #

ConsultingState(initiator_sent=False, respondent_replied=False, last_envelope_id=None)

Folded state for a consulting session.

initiator_sent flips True on the first EV_TEXT from the initiator. respondent_replied flips True on the first EV_TEXT from the respondent following the initiator's send. Both flags True means the session is complete and should auto-close.

initiator_sent class-attribute instance-attribute #

initiator_sent = False

respondent_replied class-attribute instance-attribute #

respondent_replied = False

last_envelope_id class-attribute instance-attribute #

last_envelope_id = None