mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 23:21:44 -05:00
[GH-ISSUE #24495] feat: Per-folder/project valve overrides for Filter and Tools #91054
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 @akopper on GitHub (May 9, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/24495
Check Existing Issues
Verify Feature Scope
Problem Description
When using Folders/Projects as semantic workspaces (e.g. separate AI personas, project-scoped memory banks, domain-specific tools), there is no way to configure function/filter valves differently per folder.
Currently only two valve scopes exist:
This means a memory filter like Hindsight must use the same memory bank for all folders, unless you resort to ugly workarounds like embedding a raw JSON UUID→bank mapping inside the valve itself, which requires knowing internal folder UUIDs (not exposed in the UI), has no admin interface, and breaks when folders are renamed or recreated.
Desired Solution you'd like
Add a per-folder valve override layer, configurable in the Folder settings UI, mirroring how model-level valve overrides work (see #11461 / #11553).
Merge priority (lowest → highest):
Global Valves → Folder Valves → UserValves
Alternatives Considered
Additional Context
Real-world scenario that motivated this request:
Using a Hindsight memory filter, each Open WebUI folder should write/read from a separate Hindsight memory bank (e.g. a "Project A" folder gets its own memory bank, a "Work" folder gets another).
Currently the only workaround is a
folder_bank_mapvalve containing raw UUIDs. The user must find their folder UUID via the API (GET /api/v1/folders) because it is not shown anywhere in the UI.Per-folder valves would make this a first-class, user-friendly configuration instead of a poweruser hack.
Related: #11461 (per-model valve overrides discussion), #11553 (per-model valves PR — reference implementation).
@owui-terminator[bot] commented on GitHub (May 9, 2026):
⚠️ Missing Issue Title Prefix
@akopper, your issue title is missing a categorising prefix (e.g.
bug:,feat:,docs:).Please update the title to lead with one of:
Example:
bug: Login fails when the password contains special characters@owui-terminator[bot] commented on GitHub (May 9, 2026):
⚠️ Invalid Issue Title
@akopper, your issue title is too short, too few words, or a generic placeholder — it doesn't tell maintainers what's actually being reported or requested.
Please update the title to be at least 10 characters and 2 words, and to describe the actual issue. Bare placeholders like
bug,feat:, orissuemake triage difficult and slow down everyone.Example:
bug: Login fails when password contains special characters@owui-terminator[bot] commented on GitHub (May 9, 2026):
🔍 Related Issues Found
I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions:
🟣 #11458 feat: override Valves per-model
This is the closest architectural match: it requests a new valve override layer with a merge priority and UI/backend support, just scoped to models instead of folders. The new issue explicitly cites it as the reference implementation and wants the same pattern applied to folders/projects.
by kaytwo
🟣 #17411 feat: valve overwrite per group
This feature asks for valve overrides per group, which is conceptually similar to per-folder overrides as another non-user scope. It supports the broader idea of adding a scoped override layer beyond global and per-user valves.
by Podden
🟣 #19179 feat: User-Specific Valves for Pipelines
This issue introduces a new scoped valve layer for pipelines at the user level, showing the project has already considered extending valves beyond the global/admin layer. While the scope differs, it is related because it addresses per-entity valve customization and the required UI/backend plumbing.
by hectorc98
💡 If your issue is a duplicate, please close it and add any additional details to the existing issue instead.
This comment was generated automatically. React with 👍 if helpful, 👎 if not.