@tensakulabs/openclaw-mem0 1.0.3 → 1.0.5
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/package.json +1 -1
- package/vendor/mem0-oss.mjs +1 -0
package/package.json
CHANGED
package/vendor/mem0-oss.mjs
CHANGED
|
@@ -2606,6 +2606,7 @@ function getUpdateMemoryMessages(retrievedOldMemory, newRetrievedFacts) {
|
|
|
2606
2606
|
Do not return anything except the JSON format.`;
|
|
2607
2607
|
}
|
|
2608
2608
|
function removeCodeBlocks(text) {
|
|
2609
|
+
if (typeof text !== "string") return String(text ?? "");
|
|
2609
2610
|
return text.replace(/```[^`]*```/g, "");
|
|
2610
2611
|
}
|
|
2611
2612
|
|