mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #19281] issue: RAG Template applied with "Bypass Embedding and Retrieval" enabled #34357
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 @lucyknada on GitHub (Nov 19, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19281
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.6.36
Ollama Version (if applicable)
No response
Operating System
debian 13
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When "Bypass Embedding and Retrieval" is enabled in settings, the system should bypass both:
Actual Behavior
When "Bypass Embedding and Retrieval" is enabled:
Steps to Reproduce
Logs & Screenshots
Additional Information
The code applies the RAG template whenever
context_string != ""without checking ifBYPASS_EMBEDDING_AND_RETRIEVALis enabled:@tjbck commented on GitHub (Nov 19, 2025):
BYPASS_EMBEDDING_AND_RETRIEVALis separate fromRAG_TEMPLATE, did you have any specific use cases in mind?