dify icon indicating copy to clipboard operation
dify copied to clipboard

During a conversation with a chatbot, the reply is suddenly interrupted

Open nicainicainicai opened this issue 10 months ago • 5 comments

Self Checks

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

Dify version

0.15.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

When I input the following content: 陈少良教授科研工作主要是深入研究林木抗旱耐盐机制,目的就是探明树木抗旱耐盐的生理与分子机理,以促进树木抗逆性遗传改良,加速西部生态环境建设。如何利用非损伤微测技术NMT提升陈老师科研水平? The reply will be stuck in the thinking section and suddenly terminated. When I click the regenerate button, the result is the same.

Image

However, when I send the message again, the robot can reply to me with the complete content. Image

Additionally, when I inquire about content containing links: 帮我总结一下这个链接里面的内容https://baike.baidu.com/item/%E8%AE%B8%E8%B6%8A/60278353?fr=ge_ala The result is also the same. Of course, the program cannot connect to the internet to access the link, but there is no prompt either.

Image

If I use the ollama command line format on the machine, this problem will not occur.

✔️ Expected Behavior

When asked for the first time, the robot replied to the content normally. If the model link is incorrect or there is insufficient memory, provide the correct prompt.

❌ Actual Behavior

Unable to reply normally or no error message given

nicainicainicai avatar Feb 20 '25 07:02 nicainicainicai