Revert "perf: tighten recall relevance threshold"
build-and-publish / test (push) Has been cancelled
build-and-publish / image (push) Has been cancelled

This reverts commit dd420bba44.
This commit is contained in:
2026-06-24 18:36:15 +02:00
parent dd420bba44
commit 8d0b2b2aad
+1 -1
View File
@@ -158,7 +158,7 @@ export const agentMemory = {
return { m, score: score + tagScore };
});
return scored
.filter((x) => x.score > 1)
.filter((x) => x.score > 0)
.sort((a, b) => b.score - a.score || (b.m.created_at || "").localeCompare(a.m.created_at || ""))
.slice(0, limit)
.map((x) => x.m);