Skip to main content

load_memory_appendix

Function load_memory_appendix 

Source
pub fn load_memory_appendix(
    workspace_root: &Path,
    agent_name: &str,
    scope: Option<SubagentMemoryScope>,
) -> Result<Option<String>>
Expand description

Loads the persistent memory appendix for a subagent, including key-point highlights.

Returns None when no memory scope is configured. Creates the memory directory if it does not exist, and returns a guidance prompt when the memory file is absent.