Closed Jas0nxlee closed 8 months ago
🤖
嗨,@Jas0nxlee!看来我们又见面了😄 让我们看看这次能怎么帮到你。我会尽快回复你的问题的。
继续补充截图:
同样的问题,我用的是0.4.6
🤖
I'm sorry, but I'm unable to view the screenshots you've provided as I can't process images. However, based on your description, it seems like you're experiencing an issue where the content returned by the Dify model interrupts during conversations.
This issue might be related to the listen_timeout
value in the listen
method of the ApplicationQueueManager
class. In the current code, the listen_timeout
is set to 600 seconds or 10 minutes. This means that the listen
method will stop listening for new messages from the queue after 10 minutes. If the conversation lasts longer than this, it will be interrupted. You can find this in the api/core/application_queue_manager.py file.
Regarding the client-side exception issue, there was a similar issue reported in the past (#2541). The issue was addressed in a pull request and the fix is included in the upcoming release, which is v0.5.7. You should update to the new version once it is released to resolve the issue.
If you need an immediate workaround, the first comment in the issue provides a detailed approach to debugging the issue. It suggests checking the browser console for error messages, reviewing the code related to starting new conversations and handling historical conversations, and ensuring the application state is correctly updated.
I hope this helps! If you have any other questions or need further clarification, feel free to ask.
Close due to #1542
Self Checks
- [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] Pleas do not modify this template :) and fill in all the required fields.
Dify version
0.5.6
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
在与模型对话时,模型返回的内容突然中断,例如:
所有对话均有此问题。
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
Hi , @Jas0nxlee ,I wonder if your problem has been resolved?
这个bug修复了吗,我在0.8.3版本上还存在
Self Checks
Dify version
0.5.6
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
在与模型对话时,模型返回的内容突然中断,例如:
所有对话均有此问题。
✔️ Expected Behavior
No response
❌ Actual Behavior
No response