mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
DeepSeek model cannot be stopped manually #13
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NieRonghua on GitHub (Feb 24, 2025).
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
@NieRonghua commented on GitHub (Feb 24, 2025):
step3
@dosubot[bot] commented on GitHub (Feb 24, 2025):
To manually stop a conversation in the DeepSeek-Reasoner chat interface, you can use the
handleStopfunction. 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:This function will:
hasStopResponded.currenttotrueto indicate that a stop has been requested.handleResponding(false)to update the responding state.stopChatfunction and ataskIdare available, it will callstopChat(taskIdRef.current).conversationMessagesAbortControllerRef.current.abort()andsuggestedQuestionsAbortControllerRef.current.abort().Additionally, in the chat interface, there is a button to stop responding, which is conditionally rendered when
isRespondingis true andnoStopRespondingis false. You can click this button to stop the conversation:Ensure that the
onStopRespondingfunction is properly implemented to handle the stop action [1][2].To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
@mu-dan commented on GitHub (Feb 26, 2025):
其实停止回答,根本就没有作用,只要你问问题了,你本地的模型已经开始对话了,根本就没办法停止,哪怕在页面中你看不到输出,但是本地的资源该占用的还是会被占用,所以目前停止回答没有左右,希望后续版本会被优化吧
@soulzzz commented on GitHub (Mar 5, 2025):
@dosu Does the stop button not call the handleStop function?
@soulzzz commented on GitHub (Apr 2, 2025):
https://github.com/langgenius/dify/discussions/17261
try this ,it solved my issue. @NieRonghua
@dosubot[bot] commented on GitHub (May 3, 2025):
Hi, @NieRonghua. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.
Issue Summary:
handleStopfunction, which should abort ongoing requests to stop conversations.Next Steps:
Thank you for your understanding and contribution!
@alterxyz commented on GitHub (Jun 16, 2025):
DeepSeek 0.0.5
https://marketplace.dify.ai/plugins/langgenius/deepseek
@dosubot[bot] commented on GitHub (Aug 21, 2025):
Hi, @NieRonghua. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.
Issue Summary:
handleStopfunction and UI stop button exist but currently have no effect once the local model starts responding.Next Steps:
Thank you for your understanding and contribution!