Agent memory: MEMORY.md index in prompt, lazy topic files, memory_write/memory_forget

This commit is contained in:
hermes committed 2026-10-06 12:57:26 +00:00
1 parent 8669c50fb9
commit 9b6eb9bee1
7 files changed
+228 -2

No files matched your search

+1
View File
@@ -182,6 +182,7 @@ pub fn system_prompt(base: Option<&str>, home: &Path, cwd: &Path) -> String {
for (p, c) in context_files(home, cwd) {
s.push_str(&format!("\n\n# {}\n{}", p.display(), c.trim()));
}
s.push_str(&crate::memory::prompt_section(home, cwd));
s
}