Skip to main content

run_decay_pass

Function run_decay_pass 

Source
pub async fn run_decay_pass(
    engine: &MnemoEngine,
    agent_id: &str,
    archive_threshold: f32,
    forget_threshold: f32,
) -> Result<DecayPassResult>
Expand description

Run a decay pass over all active memories for the given agent. Memories below forget_threshold are marked Forgotten. Memories below archive_threshold (but above forget) are marked Archived.