Gateway Server Request • AI Agent SDK
GatewayServerRequest: A typed server→client interactive request (Issue #5351).
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
strNo description available.
GatewayRequestKindNo description available.
strNo description available.
OptionalNo description available.
strNo description available.
Methods
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 3854