fix(mem0-plugin): store files_touched as a list to stop double JSON-encoding (#5806)

This commit is contained in:
Kartik
2026-06-25 09:06:11 +05:30
committed by GitHub
parent b33fa5427c
commit ac8f862ff7
14 changed files with 129 additions and 21 deletions
@@ -173,7 +173,7 @@ def store_summary(
if branch:
metadata["branch"] = branch
if files:
metadata["files_touched"] = json.dumps(files[:20])
metadata["files_touched"] = files[:20]
body = {
"messages": [{"role": "user", "content": summary_prompt}],