Skip to main content

run

Function run 

Source
pub fn run(
    args: InitArgs,
    backends: BackendChoice,
    embedding_model: Option<&str>,
) -> Result<(), AppError>
Expand description

Run.

embedding_model is the model already resolved by the CLI bootstrap on the documented precedence (--embedding-model > XDG embedding.model > none); it is reported verbatim in the envelope so the caller sees what this invocation would actually embed with.