mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-07-06 14:30:32 +00:00
Add `AgentCapabilities.memory`, which expands into the inline set_memory/delete_memory tool pair (mirroring the execute_code expansion via registerMemoryTools) when a run-level memoryAvailable gate holds: capability enabled, memory configured, MEMORIES.USE permission, and personalization not opted out. Surfaces the memory artifact as an attachment in the agents tool-end callback. Adds the ephemeral path (TEphemeralAgent.memory, load/added agent tool injection), a fully-gated memory badge plus tools-dropdown entry, the agent-builder Memory toggle with form round-trip, and a mock e2e test asserting the badge reaches the request payload. Additive to and independent of the existing post-turn memory extraction agent. |
||
|---|---|---|
| .. | ||
| addedConvo.js | ||
| addedConvo.spec.js | ||
| build.js | ||
| index.js | ||
| initialize.js | ||
| initialize.spec.js | ||
| skillDeps.js | ||
| skillDeps.spec.js | ||
| title.js | ||
| title.test.js | ||