mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[GH-ISSUE #20143] issue: Folder documents prevent model from accessing chats #122411
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chrisspen on GitHub (Dec 23, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20143
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
v0.6.43
Ollama Version (if applicable)
0.6.7
Operating System
Ubuntu 24.04.3
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Folder documents should be assistive, not authoritative.
The model should be allowed to use chat history + attached/retrieved documents together.
If a fact is introduced in conversation, follow-up questions should be answered from chat memory unless the user explicitly requests “sources-only” behavior.
Actual Behavior
With folder documents attached, OpenWebUI injects a system instruction equivalent to “answer only from retrieved sources”.
Chat history is either ignored or treated as non-authoritative.
The model responds with phrases like “not explicitly mentioned in the provided context” even when the information was stated moments earlier in the same chat.
This happens even when RAG chunk sizes are small and context length is large.
Steps to Reproduce
Logs & Screenshots
Additional Information
I tested using the Ollama Qwen 3:14b and built-in Arena model.
I thought I could fix this by tweaking OpenWebUI with these environment variables:
ENABLE_PERSISTENT_CONFIG=False
RAG_TOP_K=3
RAG_TOP_K_RERANKER=1
RAG_RELEVANCE_THRESHOLD=0.2
CHUNK_SIZE=400
CHUNK_OVERLAP=50
RAG_TEXT_SPLITTER=token
The idea was to stop RAG on the attached documents from pushing chat out of the context, but these settings had no meaningful effect.
@owui-terminator[bot] commented on GitHub (Dec 23, 2025):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#19588 issue: Model group permissions
by apunkt • Nov 29, 2025 •
bug#20059 issue: Chat response is not working
by navilg • Dec 20, 2025 •
bug#19987 issue: There is a lack of visual consistency between the home page and the chat interface.
by i-iooi-i • Dec 16, 2025 •
bug#20107 issue:
by mengdeer589 • Dec 22, 2025 •
bug#19393 issue: shared chats with images - images won't show
by Classic298 • Nov 23, 2025 •
bugShow 5 more related issues
#19925 issue: Model responses stop after web searches
by tm-coder-484 • Dec 13, 2025 •
bug#19511 issue: Sidebar not loading folders list past first page, only showing 10 latest chats.
by CrushedAsian255 • Nov 26, 2025 •
bug#19558 issue: When using the “Upload a document” feature in the chat, it returns the following message: “Please provide the content of the attachment. I will prepare a summary based on the information in the file.”
by jiunmoon • Nov 28, 2025 •
bug#19127 issue: /api/v1/chats/ keeps getting called
by HelifeWasTaken • Nov 11, 2025 •
bug#19461 issue: Models shared with write permission to group no longer visible in workspace
by destination-one • Nov 25, 2025 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
@Classic298 commented on GitHub (Dec 30, 2025):
I am pretty sure this is the case.
Chat history doesn't vanish just because folder-provided files are present, as well as attached files inside that chat.
This is most likely a model dependent behaviour, try with larger sized models (if you have access to them) and especially larger context size. Many such issues are often re: small models