Leave Params • AI Agent SDK

LeaveParams: Validated “leave“ frame — a client ending its participation.

LeaveParams

Defined in the protocols module.

AI Agent

Validated `leave` frame — a client ending its participation.

Completes the typed contract for the advertised `leave` method.

Attributes: session_id: Optional session the client is leaving. reason: Optional human-readable reason (display / logging only).

Properties

ResponseField Optional[str]

No description available.

ResponseField Optional[str]

No description available.

ResponseField str

No description available.

Methods

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 854