autogen_core.logging
-
class DeliveryStage(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases: Enum
-
DELIVER = 2
-
SEND = 1
-
class LLMCallEvent(*, prompt_tokens: int, completion_tokens: int, **kwargs: Any)[source]
Bases: object
-
property completion_tokens: int
-
property prompt_tokens: int
-
class MessageEvent(*, payload: Any, sender: AgentId | None, receiver: AgentId | None, kind: MessageKind, delivery_stage: DeliveryStage, **kwargs: Any)[source]
Bases: object
-
property completion_tokens: int
-
property prompt_tokens: int
-
class MessageKind(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases: Enum
-
DIRECT = 1
-
PUBLISH = 2
-
RESPOND = 3