mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-15 21:19:39 -05:00
[GH-ISSUE #12296] issue: Filter function’s priority valve has no effect
#87280
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 @landerrosette on GitHub (Apr 1, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12296
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.0
Ollama Version (if applicable)
No response
Operating System
Debian 12
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
By design, when multiple filters are applied to a model, their relative sequence of execution should be defined by one of their respective valves named
priority.Actual Behavior
The filter execution sequence does not change when priority values are modified.
Steps to Reproduce
priorityvalve fieldLogs & Screenshots
See above.
Additional Information
The related code may be located in
04799f1f95/backend/open_webui/utils/filter.py (L13-L18)The code includes a TODO concerning the use of "valves" in FunctionModel. Further clarification may be needed regarding how valves are intended to affect execution order.