Skip to main content

memory_summary

Function memory_summary 

Source
pub fn memory_summary(workspace: &Path, limit: usize) -> String
Expand description

Build a memory summary string for injection into the system prompt. Returns the top N most recent notes as a formatted block, or empty string if no notes exist.