Closed tisfeng closed 4 weeks ago
Please review this PR.
I'm testing with Built-in AI tranlsation, and from my web debugging proxy, the streaming didn't stop after I pressed stop?
ok, I will check it later.
During the previous git merge, the crucial control.cancel()
was mistakenly deleted, resulting in the request not being truly canceled.
Close https://github.com/tisfeng/Easydict/issues/560
Now we can cancel OpenAI stream request when clicking stop button.
feat: implement cancellable in https://github.com/tisfeng/OpenAI/pull/1