mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-02 02:12:25 +00:00
With memories disabled instance-wide, or for a user barred from the feature, the background review still ran every interval turn: it spent a task-model call drafting memory operations and only then failed at the write, because the router's permission check rejected it. The review now checks the 'memories.enable' switch and re-checks the 'features.memories' permission the same way the context-injection path already does, so a model whose memory capability is on no longer triggers memory work that can never land. The permission lookup costs a groups query, so it runs last, after the free config and interval gates; those stay on every turn's hot path. |
||
|---|---|---|
| .. | ||
| data | ||
| open_webui | ||
| .dockerignore | ||
| .gitignore | ||
| dev.sh | ||
| requirements-slim.txt | ||
| requirements.txt | ||
| start.sh | ||
| start_windows.bat | ||