Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python agent-contextagent-memoryagent-pluginsagentic-ragcontext-databasedsh-pluginknowledge-basememorymemory-managementself-evolvingvector-database
fix(openclaw-plugin): default recallPreferAbstract to false (#1204)
AutoCoder89616a619e1d
diff --git a/examples/openclaw-plugin/config.ts b/examples/openclaw-plugin/config.tsindex 10ad5706b..afce81eff 100644--- a/examples/openclaw-plugin/config.ts+++ b/examples/openclaw-plugin/config.ts@@ -222,7 +222,7 @@ export const memoryOpenVikingConfigSchema = {50,Math.min(10000, Math.floor(toNumber(cfg.recallMaxContentChars, DEFAULT_RECALL_MAX_CONTENT_CHARS))),),- recallPreferAbstract: cfg.recallPreferAbstract !== false,+ recallPreferAbstract: cfg.recallPreferAbstract === true,recallTokenBudget: Math.max(100,Math.min(50000, Math.floor(toNumber(cfg.recallTokenBudget, DEFAULT_RECALL_TOKEN_BUDGET))),diff --git a/examples/openclaw-plugin/tests/context-bloat-730.test.ts b/examples/openclaw-plugin/tests/context-bloat-730.test.tsindex f5f25ffaf..7c650f4f6 100644--- a/examples/openclaw-plugin/tests/context-bloat-730.test.ts+++ b/examples/openclaw-plugin/tests/context-bloat-730.test.ts@@ -115,7 +115,7 @@ describe("Slice D: recallMaxContentChars truncation", () => {it("should have recallMaxContentChars and recallPreferAbstract in parsed config", () => {const cfg = memoryOpenVikingConfigSchema.parse({});expect(cfg.recallMaxContentChars).toBe(500);- expect(cfg.recallPreferAbstract).toBe(true);+ expect(cfg.recallPreferAbstract).toBe(false);});});diff --git a/examples/openclaw-plugin/tests/ut/config.test.ts b/examples/openclaw-plugin/tests/ut/config.test.tsindex 5325f1958..f6f492c98 100644--- a/examples/openclaw-plugin/tests/ut/config.test.ts+++ b/examples/openclaw-plugin/tests/ut/config.test.ts@@ -19,7 +19,7 @@ describe("memoryOpenVikingConfigSchema.parse()", () => {expect(cfg.recallScoreThreshold).toBe(0.15);expect(cfg.autoCapture).toBe(true);expect(cfg.autoRecall).toBe(true);- expect(cfg.recallPreferAbstract).toBe(true);+ expect(cfg.recallPreferAbstract).toBe(false);expect(cfg.recallTokenBudget).toBe(2000);expect(cfg.commitTokenThreshold).toBe(20000);expect(cfg.ingestReplyAssist).toBe(true);