Skip to main content

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

coerce()

Best-effort parse of an external scope value.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 7308