fix(LongTermMemory): support memory tools in Agent processors (#2843)

* fix(LongTermMemory): support memory tools in Agent processors

* docs(LongTermMemory): clarify tool and Pipeline lifecycle access

* test(LongTermMemory): isolate persistent Chroma clients across fixtures
This commit is contained in:
huanghuoguoguo
2026-11-02 20:11:23 +08:00
committed by GitHub
parent 1a344aeb9f
commit 558ded2b7a
11 changed files with 422 additions and 76 deletions
@@ -468,6 +468,7 @@ class LongTermMemoryEngine(KnowledgeEngine):
batch_texts.append(content)
batch_ids.append(mid)
batch_metas.append({
"episode_id": mid,
"content": content,
"tags": ",".join(tags) if isinstance(tags, list) else str(tags),
"importance": str(importance),