sdk-python
sdk-python copied to clipboard
[FEATURE] Ability to cancel agent futures
Problem Statement
Is there a way to cancel all futures of the Agent class in response to KeyboardInterrupt events? Seems like after runing the agent("promtp") the main thread is blocked and responds after certain workflow phases only.
Proposed Solution
No response
Use Case
This is concerning developing CLI based agents and using Ollama models that take some time to respond.
Alternatives Solutions
No response
Additional Context
No response