When using the deepseek-r1 model, it won't stop even after clicking the stop button. #99

Closed
opened 2026-02-16 10:18:03 -05:00 by yindo · 1 comment
Owner

Originally created by @huangguifeng on GitHub (Mar 20, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.1.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image The timer keeps increasing, and the DeepSeek model deployed by Ollama is still performing inference.

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @huangguifeng on GitHub (Mar 20, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.1.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce ![Image](https://github.com/user-attachments/assets/98e584b0-f28e-40d1-bf34-06238ce543d3) The timer keeps increasing, and the DeepSeek model deployed by Ollama is still performing inference. ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo closed this issue 2026-02-16 10:18:03 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Mar 20, 2025):

@huangguifeng Hello there! I'm here to assist you with any bugs, questions, or contribution-related matters. Let's work together to resolve any issues you're experiencing.

I found two similar unsolved discussions that might be relevant to your issue:

  1. What if my task keeps running and can't stop, last updated on March 14, 2025.
  2. The DeepSeek thinking process is stuck. Help, last updated on February 27, 2025.

Additionally, there is a known limitation with the DeepSeek model when deployed using Ollama in Dify. The model does not support tools functionality, which can lead to issues when trying to associate context or tools. However, this limitation should not directly affect the stop button functionality [1][2].

Unfortunately, I couldn't find specific information on how the stop button functionality works for the DeepSeek model in Dify or any configurations required for handling stop commands effectively in a self-hosted Docker environment. You might want to explore the discussions mentioned above for potential insights or updates.

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

@dosubot[bot] commented on GitHub (Mar 20, 2025): <!-- Greeting --> @huangguifeng Hello there! I'm here to assist you with any bugs, questions, or contribution-related matters. Let's work together to resolve any issues you're experiencing. <!-- Answer --> I found two similar unsolved discussions that might be relevant to your issue: 1. [What if my task keeps running and can't stop](https://github.com/langgenius/dify/discussions/15833), last updated on March 14, 2025. 2. [The DeepSeek thinking process is stuck. Help](https://github.com/langgenius/dify/discussions/14393), last updated on February 27, 2025. Additionally, there is a known limitation with the DeepSeek model when deployed using Ollama in Dify. The model does not support tools functionality, which can lead to issues when trying to associate context or tools. However, this limitation should not directly affect the stop button functionality <sup>[[1]](https://github.com/langgenius/dify/issues/16005)</sup><sup>[[2]](https://github.com/langgenius/dify/issues/15614)</sup>. Unfortunately, I couldn't find specific information on how the stop button functionality works for the DeepSeek model in Dify or any configurations required for handling stop commands effectively in a self-hosted Docker environment. You might want to explore the discussions mentioned above for potential insights or updates. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/b1511192-2bc9-4085-b276-22b24e74af58?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/b1511192-2bc9-4085-b276-22b24e74af58?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/b1511192-2bc9-4085-b276-22b24e74af58?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/b1511192-2bc9-4085-b276-22b24e74af58?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/b1511192-2bc9-4085-b276-22b24e74af58?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/b1511192-2bc9-4085-b276-22b24e74af58?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/b1511192-2bc9-4085-b276-22b24e74af58?feedback_type=other)</sup>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#99