diff --git a/content/docs/configuration/librechat_yaml/object_structure/memory.mdx b/content/docs/configuration/librechat_yaml/object_structure/memory.mdx index 12166c734..08e15bd75 100644 --- a/content/docs/configuration/librechat_yaml/object_structure/memory.mdx +++ b/content/docs/configuration/librechat_yaml/object_structure/memory.mdx @@ -19,6 +19,7 @@ memory: personalize: true messageWindowSize: 5 agent: + enabled: true provider: 'openAI' model: 'gpt-4' instructions: 'You are a helpful assistant that remembers user preferences and context.' @@ -27,6 +28,22 @@ memory: max_tokens: 1000 ``` + + As of [PR #12886](https://github.com/danny-avila/LibreChat/pull/12886), the memory + **agent** must set `enabled: true` for automatic memory extraction to run. + If the flag is omitted, LibreChat logs a startup warning and skips automatic + extraction. Manual memory operations (create, edit, delete, reference) + continue to work regardless of the flag. + + The warning looks like: + + ```text + [memory] Agent config detected without explicit `enabled: true`. + Automatic memory extraction is now opt-in. + Add `memory.agent.enabled: true` to keep automatic extraction on. + ``` + + ## disabled + +**Default:** `false` (opt-in). + **provider** (required)