mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 09:10:33 +00:00
feat(memory-core): add dreaming aging controls
This commit is contained in:
@@ -120,6 +120,8 @@ describe("memory-core /dreaming command", () => {
|
||||
dreaming: {
|
||||
mode: "deep",
|
||||
timezone: "America/Los_Angeles",
|
||||
recencyHalfLifeDays: 21,
|
||||
maxAgeDays: 45,
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -132,6 +134,7 @@ describe("memory-core /dreaming command", () => {
|
||||
expect(result.text).toContain("Dreaming status:");
|
||||
expect(result.text).toContain("- mode: deep");
|
||||
expect(result.text).toContain("- cadence: 0 */12 * * * (America/Los_Angeles)");
|
||||
expect(result.text).toContain("- aging: recencyHalfLifeDays=21, maxAgeDays=45");
|
||||
expect(result.text).toContain("- verboseLogging: off");
|
||||
expect(runtime.config.writeConfigFile).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user