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. Stub. Plan §5.e/§6.f: durable-memory consolidation runs on the oxibrain daemon, never as a local worker pipeline. This stub remains so callers compile; it always returns None.