Skip to main content

interrupt

Method
This is a method of the ManagedBackendProtocol class in the protocols module.
Send a user interrupt to the active session. Signals the managed agent to stop its current work (equivalent to user.interrupt event in the Anthropic API).

Signature

Source

View on GitHub

praisonaiagents/agent/protocols.py at line 425