Skip to content

ConversableAgentUsageSummaryEvent

autogen.events.agent_events.ConversableAgentUsageSummaryEvent #

ConversableAgentUsageSummaryEvent(*, uuid=None, recipient)

Bases: BaseEvent

Source code in autogen/events/agent_events.py
def __init__(self, *, uuid: Optional[UUID] = None, recipient: "Agent"):
    super().__init__(uuid=uuid, recipient_name=recipient.name)

recipient_name instance-attribute #

recipient_name

uuid instance-attribute #

uuid

print #

print(f=None)
Source code in autogen/events/agent_events.py
def print(self, f: Optional[Callable[..., Any]] = None) -> None:
    f = f or print

    f(f"Agent '{self.recipient_name}':")