You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To manually stop a conversation in the DeepSeek-Reasoner chat interface, you can use the handleStop function. This function is designed to stop the chat by setting the responding state to false and aborting any ongoing requests. Here is the relevant code snippet:
Set hasStopResponded.current to true to indicate that a stop has been requested.
Call handleResponding(false) to update the responding state.
If a stopChat function and a taskId are available, it will call stopChat(taskIdRef.current).
Abort any ongoing requests using conversationMessagesAbortControllerRef.current.abort() and suggestedQuestionsAbortControllerRef.current.abort().
Additionally, in the chat interface, there is a button to stop responding, which is conditionally rendered when isResponding is true and noStopResponding is false. You can click this button to stop the conversation:
Self Checks
Dify version
0.15.3
Cloud or Self Hosted
Cloud
Steps to reproduce
step1:

Chat
step2:
Stop conversation
step3:
The conversation was still answered
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered: