You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem?
Agents can be executed asynchronously by providing async=True during agent execute. This runs the agent asynchronously in a task. This task needs to be polled for status of the execution.
Request: Support cancellation of an executing task
Use case: As agent execution steps are visible via the memory layer, if the agent is moving in the wrong direction to solve the task, I would like to cancel it to save on tokens/resources.
Recommend: Provide API to cancel task
This can be extended to support cancelling any running task and not just limited to the agent framework