Stop Result • AI Agent SDK
StopResult: Outcome of a scoped stop, reported to the requesting client.
StopResult
Defined in the protocols module.
AI Agent
Outcome of a scoped stop, reported to the requesting client.
`pending_cancelled is a visible, intentional non-outcome: the count of queued messages drained by a SESSION stop, never silently dropped. For a TURN stop it is always 0`.
Properties
ResponseField
StopScopeNo description available.
ResponseField
boolNo description available.
ResponseField
intNo description available.
Internal & Generic Methods
- to_dict: Generic utility method.
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 8208