Skip to main content

bootstrap_serve

Function bootstrap_serve 

Source
pub async fn bootstrap_serve(
    db_path: &Path,
    args: &ServeArgs,
    app_config: &AppConfig,
) -> Result<ServeBootstrap>
Expand description

Build all daemon state and spawn background tasks. Returns the aggregated state without binding any sockets — testable in isolation.

DOC-6: this function reads several legacy AppConfig fields (auto_tag_model, llm_model, ollama_url) directly for v0.7.x backward compat; the #[allow(deprecated)] carves out the legacy reads while keeping the deprecation warning live for external consumers.