Stop Scope • AI Agent SDK
StopScope: How much of a session's work a stop owns.
StopScope
Defined in the protocols module.
AI Agent
How much of a session’s work a stop owns.
`TURN cancels only the running turn (today's behaviour; default for backward compatibility). SESSION` cancels the running turn and drains the session’s queued-but-unstarted ingress so no backlogged message is executed after the stop.
Methods
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 8173