mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[PR #16939] [CLOSED] Add 'Use Knowledge' toggle for RAG control #24285
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/16939
Author: @stigscousin
Created: 8/26/2025
Status: ❌ Closed
Base:
main← Head:feature/use-knowledge-toggle📝 Commits (1)
9a35ef1feat(ui): add per-chat 'Use Knowledge' toggle and payload gating📊 Changes
3 files changed (+42 additions, -2 deletions)
View changed files
📝
src/lib/components/chat/Chat.svelte(+11 -0)📝
src/lib/components/chat/MessageInput.svelte(+29 -2)📝
src/lib/components/chat/Placeholder.svelte(+2 -0)📄 Description
This PR adds a per-chat ‘Use Knowledge’ toggle next to Code Interpreter and gates retrieval.\n\n- UI: toggle in MessageInput.svelte\n- State: threaded through Placeholder.svelte and Chat.svelte; persisted in session draft\n- Behavior: when OFF, files for knowledge are stripped and features.knowledge=false\n\n
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.