You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
0.14.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
After upgrading from version 0.8.3 to 0.14.0, if you input something to chat with the app, you might receive a "conversation not found" error and it will open a new chat with no content. However, if you remove the local storage, the issue resolves and works fine.
✔️ Expected Behavior
if conversation id lost , just remove it or can open new conversations..
❌ Actual Behavior
tips: conversation not found
refresh page and can't open a new conversation .
keep here:
The text was updated successfully, but these errors were encountered:
Regarding your issue, Dify handles conversation IDs by retrieving them from the variable_pool using the key ["sys", "conversation_id"]. If the conversation ID is not found, it raises a ConversationIDNotFoundError[2]. This might be related to the "conversation not found" error you're encountering.
Additionally, Dify uses local storage to manage conversation states and IDs. It employs the useLocalStorageState hook to store and retrieve conversationIdInfo, which helps persist conversation states across sessions [3]. Clearing the local storage seems to resolve the issue because it resets the stored conversation states, allowing the application to start fresh without the missing or corrupted conversation ID.
To address this issue, you might consider implementing a mechanism to automatically clear or reset the conversation ID in local storage when it is not found, which aligns with your expected behavior of opening new conversations if the ID is lost.
Self Checks
Dify version
0.14.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
After upgrading from version 0.8.3 to 0.14.0, if you input something to chat with the app, you might receive a "conversation not found" error and it will open a new chat with no content. However, if you remove the local storage, the issue resolves and works fine.
✔️ Expected Behavior
if conversation id lost , just remove it or can open new conversations..
❌ Actual Behavior
tips: conversation not found
refresh page and can't open a new conversation .
keep here:
The text was updated successfully, but these errors were encountered: