This example is available on GitHub: examples/01_standalone_sdk/09_pause_example.py
conversation.pause():
examples/01_standalone_sdk/09_pause_example.py
Running the Example
Pausing Execution
Pause the agent from another thread or after a delay:Resuming Execution
Resume the paused conversation after performing operations by callingconversation.run() again:
Next Steps
- Persistence - Save and restore conversation state
- Send Message While Processing - Interrupt running agents

