Open
Description
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
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
On-deck