feat(memory): default user memory toggle to admin's global ENABLE_MEMORIES config (#25909)

This commit is contained in:
G30 authored and GitHub committed 2026-06-17 03:08:43 +02:00
1 parent 2f9b28a57d
commit beb9bf60e4
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -2244,7 +2244,7 @@
}
}
if ($settings?.memory ?? false) {
if ($settings?.memory ?? $config?.features?.enable_memories ?? false) {
features = { ...features, memory: true };
}