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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.