Files
open-webui/backend/open_webui
Classic298 e8c26f8394 fix: stop the background memory review when memory is switched off (#30309)
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.
2026-09-21 11:22:21 -04:00
..
2026-09-06 17:13:32 -04:00
2026-08-25 16:53:53 -04:00
2026-09-21 10:19:59 -04:00
2026-09-21 11:09:09 -04:00
2026-09-21 11:21:42 -04:00
2026-09-06 17:27:30 -04:00
2026-09-06 17:13:32 -04:00
2026-09-21 08:59:39 -04:00
2026-09-21 11:09:09 -04:00
2026-08-29 16:14:32 -04:00
2026-09-21 08:59:39 -04:00
2026-08-16 23:21:00 -07:00
2026-09-21 08:59:39 -04:00
2026-09-21 08:59:39 -04:00