openclaw-memory-alibaba-local 1.0.1 → 1.0.3
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 +2 -2
- package/openclaw.plugin.json +2 -2
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -1899,7 +1899,7 @@ const memoryPlugin = {
|
|
|
1899
1899
|
`[openclaw-memory-alibaba-local] session_start inject ${entries.length} cached memories (importance desc), skip recall`,
|
|
1900
1900
|
);
|
|
1901
1901
|
return {
|
|
1902
|
-
|
|
1902
|
+
appendSystemContext: formatRelevantMemoriesContext(entries),
|
|
1903
1903
|
};
|
|
1904
1904
|
}
|
|
1905
1905
|
}
|
|
@@ -1954,7 +1954,7 @@ const memoryPlugin = {
|
|
|
1954
1954
|
`[openclaw-memory-alibaba-local] injecting ${results.length} memories into context`,
|
|
1955
1955
|
);
|
|
1956
1956
|
return {
|
|
1957
|
-
|
|
1957
|
+
appendSystemContext: formatRelevantMemoriesContext(
|
|
1958
1958
|
results.map((r) => {
|
|
1959
1959
|
let imp = r.entry.importance ?? 0;
|
|
1960
1960
|
// 将 importance 按与 score 相同的时间衰减因子修正,使显示值与实际召回权重一致
|
package/openclaw.plugin.json
CHANGED
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"default": "llm",
|
|
63
63
|
"description": "regex or llm; llm needs apiKey+model (plugin llm and/or openclaw.json bailian + agents.defaults.model)."
|
|
64
64
|
},
|
|
65
|
-
"autoRecall": { "type": "boolean", "default":
|
|
65
|
+
"autoRecall": { "type": "boolean", "default": true },
|
|
66
66
|
"autoCapture": { "type": "boolean", "default": true },
|
|
67
67
|
"captureMaxChars": { "type": "number", "default": 50000 },
|
|
68
68
|
"enableMemoryDecay": {
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
},
|
|
207
207
|
"autoRecall": {
|
|
208
208
|
"label": "Auto Recall",
|
|
209
|
-
"help": "When true: inject memories before each prompt and register memory_recall / memory_store / memory_forget. When false
|
|
209
|
+
"help": "When true (default): inject memories before each prompt and register memory_recall / memory_store / memory_forget. When false: no auto recall and no those tools; agent_end capture still follows autoCapture."
|
|
210
210
|
},
|
|
211
211
|
"autoCapture": {
|
|
212
212
|
"label": "Auto Capture",
|