Summary
Add a "Stop" button to the chat interface to allow users to manually halt Agentcrew executions.
Details
The chat interface currently lacks a way to stop Agentcrew once it starts generating a response. A manual stop action should be added for users who need to interrupt the process if the agent begins to hallucinate, goes off-topic, or gets stuck.
Requirements
- Add a visual "Stop" button to the chat UI that appears during generation.
- Implement backend logic to intercept the stop request and halt the active Agentcrew execution.
- Handle the termination of the headless background process safely.
- Implement a system kill fallback if a graceful shutdown of the background process is not possible.
Context
As discussed with Pau and Cristian Córdova, this is a highly requested quality-of-life feature to better control the agent. Because Agentcrew is currently invoked in headless mode, it runs as a background process. Stopping it will require investigating the best way to terminate the process (as a last resort, executing a system kill).
Acceptance Criteria
Summary
Add a "Stop" button to the chat interface to allow users to manually halt Agentcrew executions.
Details
The chat interface currently lacks a way to stop Agentcrew once it starts generating a response. A manual stop action should be added for users who need to interrupt the process if the agent begins to hallucinate, goes off-topic, or gets stuck.
Requirements
Context
As discussed with Pau and Cristian Córdova, this is a highly requested quality-of-life feature to better control the agent. Because Agentcrew is currently invoked in headless mode, it runs as a background process. Stopping it will require investigating the best way to terminate the process (as a last resort, executing a system kill).
Acceptance Criteria