exo icon indicating copy to clipboard operation
exo copied to clipboard

[BOUNTY - $200] make it so process_prompt is cancellable outside of a download (follow up to #305)

Open AlexCheema opened this issue 1 year ago • 6 comments

See #305

Currently the fix is to shield process_prompt however this also makes it so that if a chatgpt api request times out, it never gets cancelled even when a download is not in progress.

This can lead to behaviour where exo keeps generating even after a chatgpt api request has timed out.

Gotchas: make sure however exo works right is actually cancellable end-to-end. If an inference is in progress, that needs to be cancellable - InferenceEngines need to support this behaviour.

AlexCheema avatar Oct 07 '24 16:10 AlexCheema

Started working on this. But since holidays are near, it could take a few days.

ji-cryptocafe avatar Oct 11 '24 09:10 ji-cryptocafe

Hi @AlexCheema,

I'd like to work on this issue. I understand the main goal is to make process_prompt cancellable when not downloading while maintaining download protection from #305.

Would you like me to proceed with the implementation, so can you assign this issue to me?

rahat2134 avatar Oct 24 '24 05:10 rahat2134

@AlexCheema PTAL!

rahat2134 avatar Oct 26 '24 14:10 rahat2134

@AlexCheema

rahat2134 avatar Oct 28 '24 03:10 rahat2134

@AlexCheema , I have started working on this. Please assign this to me.

rahat2134 avatar Nov 03 '24 10:11 rahat2134

@AlexCheema ptal!

rahat2134 avatar Mar 23 '25 10:03 rahat2134