Bug Report: In Dify, when using the LLM component with the Tongyi Deepseek R1 model, consecutive repeated words may be skipped. #17638 #179

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

Originally created by @hsiong on GitHub (Apr 8, 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 Dify issues & Dify Official Plugins, 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.3

Plugin version

0.0.16

Cloud or Self Hosted

Self Hosted (Docker), Self Hosted (Source)

Steps to reproduce

  1. Install TONGYI Plugin in Marketplace, my tongyi plugin version is 0.0.16
  2. add your TONGYI api-key
  3. use TONGYI Deepseek-R1 in LLM block within your workflow
  4. My prompt is
{
  "model_mode": "chat",
  "prompts": [
    {
      "role": "system",
      "text": "直接输出我发给你的信息,注意不要遗漏任何英文字母\n",
      "files": []
    },
    {
      "role": "user",
      "text": "fefeeaeaabab12121b1b2.2.",
      "files": []
    }
  ],
  "model_provider": "langgenius/tongyi/tongyi",
  "model_name": "deepseek-r1"
}
  1. Oddly, this issue appears to be specific to the Dify Tongyi plugin, regardless of whether the prompt is in Chinese or English. When invoking the TongYi Deepseek-R1 model through API, the output functions as expected without any anomalies.

This issue directly impacts the retrieval of hash-encoded values and URLs, as these often contain repeated substrings. We appreciate the Dify team's attention to this. Thank you

✔️ Error log

✔️ Expected Behavior

fefeeaeaabab12121b1b2.2

Actual Behavior

feeeaeaab12121b1b2.2.

Originally created by @hsiong on GitHub (Apr 8, 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 [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/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.3 ### Plugin version 0.0.16 ### Cloud or Self Hosted Self Hosted (Docker), Self Hosted (Source) ### Steps to reproduce 1. Install TONGYI Plugin in Marketplace, my tongyi plugin version is 0.0.16 2. add your TONGYI api-key 3. use TONGYI Deepseek-R1 in LLM block within your workflow 4. My prompt is ``` { "model_mode": "chat", "prompts": [ { "role": "system", "text": "直接输出我发给你的信息,注意不要遗漏任何英文字母\n", "files": [] }, { "role": "user", "text": "fefeeaeaabab12121b1b2.2.", "files": [] } ], "model_provider": "langgenius/tongyi/tongyi", "model_name": "deepseek-r1" } ``` 5. Oddly, this issue appears to be specific to the Dify Tongyi plugin, regardless of whether the prompt is in Chinese or English. When invoking the TongYi Deepseek-R1 model through API, the output functions as expected without any anomalies. This issue directly impacts the retrieval of hash-encoded values and URLs, as these often contain repeated substrings. We appreciate the Dify team's attention to this. Thank you ### ✔️ Error log ### ✔️ Expected Behavior fefeeaeaabab12121b1b2.2 ### ❌ Actual Behavior feeeaeaab12121b1b2.2.
yindo added the bug label 2026-02-16 10:18:21 -05:00
yindo closed this issue 2026-02-16 10:18:21 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Aug 16, 2025):

Hi, @hsiong. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported a bug in Dify v1.1.3 with the Tongyi Deepseek-R1 model via the Tongyi plugin (v0.0.16).
  • The issue involves consecutive repeated words or characters being skipped in the output.
  • This problem is specific to the Dify Tongyi plugin and does not occur when using the model directly via API.
  • It affects retrieval of hash-encoded values and URLs containing repeated substrings.
  • The issue remains unresolved and under investigation.

Next Steps:

  • Please confirm if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting below.
  • If I do not hear back within 5 days, I will automatically close this issue.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 16, 2025): Hi, @hsiong. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported a bug in Dify v1.1.3 with the Tongyi Deepseek-R1 model via the Tongyi plugin (v0.0.16). - The issue involves consecutive repeated words or characters being skipped in the output. - This problem is specific to the Dify Tongyi plugin and does not occur when using the model directly via API. - It affects retrieval of hash-encoded values and URLs containing repeated substrings. - The issue remains unresolved and under investigation. **Next Steps:** - Please confirm if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting below. - If I do not hear back within 5 days, I will automatically close this issue. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#179