Files
code-memory/memory.py
jze9 74c3fac2cc Add deduplication to store_memory
Before inserting, check if a near-identical memory exists (cosine > 0.85).
If found, skip insert. Prevents flooding the DB with repeated facts
from the same conversation.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-28 20:39:28 +05:00

9.0 KiB