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 StopScope

No description available.

ResponseField bool

No description available.

ResponseField int

No description available.

Internal & Generic Methods
  • to_dict: Generic utility method.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 8208