langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
https://dify.ai
Other
51.5k stars 7.44k forks source link

cloud.dify.ai conversation records error #10527

Closed ouni3 closed 2 days ago

ouni3 commented 2 days ago

Self Checks

Dify version

0.11.0

Cloud or Self Hosted

Cloud

Steps to reproduce

On cloud.dify.ai, I logged in with the same account, but the account ID is different from the one I had a few days ago, and I am unable to retrieve the conversation records from the previous days.I accessed the bot using my phone and incognito mode and got different chat records, which means the account ID doesn't rely on the Dify account, but on the device, so once the device status changes, the account ID also changes, making it impossible to retrieve previous chat records image

✔️ Expected Behavior

When the same account logs into the robot chat interface from a different device, it should have the same chat history.

❌ Actual Behavior

I logged in with the same account, but the account ID is different from the one I had a few days ago, and I am unable to retrieve the conversation records from the previous days.

dosubot[bot] commented 2 days ago

I found a similar unsolved discussion regarding issues with conversation IDs and memory in Dify. You might find it helpful to check out this discussion: i have problem with messages on conversationID. My agent does not have memory [1].

Regarding your issue, it seems like there might be a problem with how Dify handles account IDs and conversation history across different devices. Unfortunately, I couldn't find specific documentation or code that explains how Dify links conversation history to user accounts across different devices. This might be a limitation or a bug in the current version (0.11.0) of Dify. You might want to report this issue to the Dify team if it hasn't been addressed yet.

To continue talking to Dosu, mention @dosu.

crazywoola commented 2 days ago

This is an expected behavior, we do not have a place for chatbot login as well. So, no matter logged in or not, if you change to another browser or use open it in private mode, the conversation id will change for sure.