Skip to main content

ConversationReply

Defined in the protocols module.
AI Agent Outcome of an agent-initiated cross-conversation request (Issue #3689). Every request resolves to exactly one of the :data:ConversationReplyStatus outcomes, so the agent always gets a typed answer back into its turn rather than a silent hang. Attributes: status: The outcome (reply / timeout / undelivered / no_route). target: The resolved target the prompt was routed to. text: The reply text, populated only when status == "reply". detail: Optional extra information (error text, message id, etc.).

Properties

ConversationReplyStatus
No description available.
str
No description available.
str
No description available.
Optional[str]
No description available.

Methods

as_dict()

Convert to a serializable dictionary for the tool return value.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 2631