Find answers from the community

Updated 2 months ago

[Feature Request]: Workflows should have...

Hey guys, is it possible to force a workflow to stop? I'm working on a PoC where I need to give the user to stop the current job, which I'm planning to implement using llama index workflows. thanks in advance

Update:
Nevermind, I just find this: https://github.com/run-llama/llama_index/issues/16232 looks like it is not supported at the moment
L
c
3 comments
llama-index-core==0.11.15 will have it, just released it
Plain Text
handler = workflow.run(...)
...
await handler.cancel_run()
Thank you so much, you saved a project lol
Add a reply
Sign up and join the conversation on Discord