ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Bug]: The agent list becomes empty

Open tianqi888 opened this issue 11 months ago • 2 comments

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] Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • [x] Please do not modify this template :) and fill in all the required fields.

RAGFlow workspace code commit ID

baf3b9b

RAGFlow image version

0.17.2

Other environment information


Actual behavior

There were two agents in my agent list before, and I added another one. When I was saving and debugging the new agent, I found that the agent list suddenly became empty

Expected behavior

No response

Steps to reproduce

During the debugging process, an agent contains conversations, loops, knowledge retrieval, generated answers, and conditions.  When does the agent list become empty

Additional information

No anomalies were found in the network request and browser console and background logs

tianqi888 avatar Apr 01 '25 08:04 tianqi888

Hey there, @tianqi888! 👋 I'm here to help you with any bugs, questions, or contributions you have for RAGFlow. I'm a bot designed to assist you while you wait for a human maintainer. Let's squash those bugs together!

The issue you're experiencing, where the agent list becomes empty during the debugging process, might be related to how the RAGFlow engine handles agent sessions. While I couldn't find specific conditions or triggers that cause the agent list to be cleared, the management of agent sessions involves creating, listing, and deleting sessions [1][2].

It's possible that an error or exception during the debugging process could inadvertently clear the agent list. However, without specific error logs or more detailed information, it's challenging to pinpoint the exact cause. You might want to check if there are any recent changes or updates in the codebase related to agent list management that could be affecting this behavior. Additionally, reviewing the session management code for any potential issues might provide further insights.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

dosubot[bot] avatar Apr 01 '25 08:04 dosubot[bot]

Upgrade to nightly.

KevinHuSh avatar Apr 03 '25 01:04 KevinHuSh