[GH-ISSUE #4377] [BUG]: Attached Document Context Is Not Fully Restored After Restarting AnythingLLM #2791

Closed
opened 2026-02-22 18:31:16 -05:00 by yindo · 2 comments
Owner

Originally created by @DangerousBerries on GitHub (Sep 10, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4377

How are you running AnythingLLM?

Docker (local)

What happened?

After attaching four text documents to the Current Context and confirming that the model utilizes all of them in its responses, I closed the application. After reopening it, the UI correctly indicated that there were still four files in the Current Context. However, when I proceeded to ask questions that required information from all four documents, the responses only drew from a single document. Clicking on "Show citations" under the response also shows that only one document is being used as a source, despite all four being listed in "Current Context (4 files)".

I expected that after restarting the application, the context of all four attached documents would be used by the model in its responses, consistent with the Current Context window.

Are there known steps to reproduce?

No response

Originally created by @DangerousBerries on GitHub (Sep 10, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4377 ### How are you running AnythingLLM? Docker (local) ### What happened? After attaching four text documents to the Current Context and confirming that the model utilizes all of them in its responses, I closed the application. After reopening it, the UI correctly indicated that there were still four files in the Current Context. However, when I proceeded to ask questions that required information from all four documents, the responses only drew from a single document. Clicking on "Show citations" under the response also shows that only one document is being used as a source, despite all four being listed in "Current Context (4 files)". I expected that after restarting the application, the context of all four attached documents would be used by the model in its responses, consistent with the Current Context window. ### Are there known steps to reproduce? _No response_
yindo added the possible buginvestigating labels 2026-02-22 18:31:16 -05:00
yindo closed this issue 2026-02-22 18:31:16 -05:00
Author
Owner

@shatfield4 commented on GitHub (Sep 10, 2025):

I'm unable to replicate this and this is most likely going to just be an issue with your model hallucinating. If you can consistently replicate this, please provide exact steps and we'd be happy to reopen.

@shatfield4 commented on GitHub (Sep 10, 2025): I'm unable to replicate this and this is most likely going to just be an issue with your model hallucinating. If you can consistently replicate this, please provide exact steps and we'd be happy to reopen.
Author
Owner

@DangerousBerries commented on GitHub (Sep 11, 2025):

I'm unable to replicate this and this is most likely going to just be an issue with your model hallucinating. If you can consistently replicate this, please provide exact steps and we'd be happy to reopen.

I honestly can't replicate it exactly because which document is removed and when is inconsistent... The model is not hallucinating because the documents are missing after clicking "Show citations" under the response in the UI but they stay in Current Context.

@DangerousBerries commented on GitHub (Sep 11, 2025): > I'm unable to replicate this and this is most likely going to just be an issue with your model hallucinating. If you can consistently replicate this, please provide exact steps and we'd be happy to reopen. I honestly can't replicate it exactly because which document is removed and when is inconsistent... The model is not hallucinating because the documents are missing after clicking "Show citations" under the response in the UI but they stay in Current Context.
yindo changed title from [BUG]: Attached Document Context Is Not Fully Restored After Restarting AnythingLLM to [GH-ISSUE #4377] [BUG]: Attached Document Context Is Not Fully Restored After Restarting AnythingLLM 2026-06-05 14:48:35 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2791