mr-memory 2.22.1 → 2.22.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.ts +3 -0
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -638,6 +638,8 @@ const memoryRouterPlugin = {
|
|
|
638
638
|
await runOpenClawConfigSet("agents.defaults.memorySearch.sources", JSON.stringify(["memory"]), true);
|
|
639
639
|
// Disable experimental session memory
|
|
640
640
|
await runOpenClawConfigSet("agents.defaults.memorySearch.experimental.sessionMemory", "false", true);
|
|
641
|
+
// Disable re-indexing on every search (MR handles memory, no need to re-embed constantly)
|
|
642
|
+
await runOpenClawConfigSet("agents.defaults.memorySearch.sync.onSearch", "false", true);
|
|
641
643
|
} catch {
|
|
642
644
|
// Non-fatal — config optimization is best-effort
|
|
643
645
|
}
|
|
@@ -648,6 +650,7 @@ const memoryRouterPlugin = {
|
|
|
648
650
|
try {
|
|
649
651
|
await runOpenClawConfigSet("agents.defaults.memorySearch.sources", JSON.stringify(["memory", "sessions"]), true);
|
|
650
652
|
await runOpenClawConfigSet("agents.defaults.memorySearch.experimental.sessionMemory", "true", true);
|
|
653
|
+
await runOpenClawConfigSet("agents.defaults.memorySearch.sync.onSearch", "true", true);
|
|
651
654
|
} catch {
|
|
652
655
|
// Non-fatal
|
|
653
656
|
}
|