GatewayServerRequest
Defined in the protocols module.AI Agent A typed server→client interactive request (Issue #5351). Delivered to a connected gateway client as a
server_request frame while
a turn is blocked awaiting a human answer, and re-issued verbatim on resume
for as long as it stays open.
Attributes:
request_id: Correlation id echoed back in the :class:GatewayServerReply.
kind: One of :data:GatewayRequestKind.
prompt: Human-readable prompt to render.
options: Selectable options, populated only for kind == "choice".
session_id: Session the request belongs to (used for resume replay).
Properties
str
No description available.
GatewayRequestKind
No description available.
str
No description available.
Optional
No description available.
str
No description available.
Methods
as_dict()
Convert to a serializable dictionary for the
server_request frame.Source
View on GitHub
praisonaiagents/gateway/protocols.py at line 3496
