Adding a force stop when agent is replying

Hi,
How can i stop agent reply when it is generated using agent api? Like in chatgpt, gemini theres a stop button we can use to stop generating further response. does agno agents support that functionality?

Thanks,
Isuru

Hey @isurula, thanks for reaching out and supporting Agno. I’ve shared this with the team, we’re working through all requests one by one and will get back to you soon.
If it’s urgent, please let us know. We appreciate your patience!

Hey @isurula we’ve a draft PR out for this: Feat: Cancel a run by SamuelJacobJ · Pull Request #3710 · agno-agi/agno · GitHub - should be merged soon :))