[PR #16939] [CLOSED] Add 'Use Knowledge' toggle for RAG control #63141

Closed
opened 2026-05-06 07:44:13 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/16939
Author: @stigscousin
Created: 8/26/2025
Status: Closed

Base: mainHead: feature/use-knowledge-toggle


📝 Commits (1)

  • 9a35ef1 feat(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.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/16939 **Author:** [@stigscousin](https://github.com/stigscousin) **Created:** 8/26/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feature/use-knowledge-toggle` --- ### 📝 Commits (1) - [`9a35ef1`](https://github.com/open-webui/open-webui/commit/9a35ef142890a719bbabad4be62b5e9fd6504283) feat(ui): add per-chat 'Use Knowledge' toggle and payload gating ### 📊 Changes **3 files changed** (+42 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/chat/Chat.svelte` (+11 -0) 📝 `src/lib/components/chat/MessageInput.svelte` (+29 -2) 📝 `src/lib/components/chat/Placeholder.svelte` (+2 -0) </details> ### 📄 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-06 07:44:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#63141