Skip to main content

start_memory_pipeline

Function start_memory_pipeline 

Source
pub fn start_memory_pipeline(
    settings: &Settings,
    cwd: &Path,
    oxicode: Option<&Oxicode>,
) -> Option<JoinHandle<()>>
Expand description

Open (or create) the autonomous-memory pipeline DB and spawn the background Phase-1 / Phase-2 workers. Returns None when the pipeline is disabled (default).

When oxicode is Some, the pipeline resolves a memory extraction model from settings and creates a provider for actual LLM calls. Without it, workers run but skip LLM-dependent work.