Skip to main content

render_memory_block

Function render_memory_block 

Source
pub fn render_memory_block(
    entries: &[(PathBuf, String, MemoryEntry)],
    workflow_name: &str,
    step_name: Option<&str>,
) -> String
Expand description

Render a <memory> block to prepend to a system prompt.

Returns an empty string when there are no entries.