feat: 🎸 allow user cancel run action #48
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
问题
类似 ChatGPT 的交互界面,
有时候答案出现几个字后,用户可能会立刻发现这些答案不符合自己的需求,想要进行修改。
但是此时用户必须等待应用程序执行结束才能进行修改。
为了解决这个问题,我们在这里新增了“取消执行”功能。
新功能
现在,用户可以点击“loading”按钮,以结束应用程序的继续接收流消息,并终止问答过程。