fix: include memory IDs in output for deletion support #5

Merged
Pakobbix merged 1 commits from fix/include-memory-ids-in-output into main 2026-05-12 17:00:31 +00:00

1 Commits

Author SHA1 Message Date
ARIA 4da384e68f fix: include memory IDs in search and list_all output for deletion support
The LLM could not delete memories because IDs were stripped from tool
responses. Now all three output paths include memory IDs:

- mem0_list_all: [id] prefix before each memory text
- mem0_search: id field in each result item
- prefetch context: [id] prefix in injected <mem0_context>
2026-05-12 18:59:29 +02:00