Skip to main content

get_claude_embedder

Function get_claude_embedder 

Source
pub fn get_claude_embedder(
    claude_binary: Option<&Path>,
    claude_model: Option<&str>,
) -> Result<&'static Mutex<LlmEmbedding>, AppError>
Expand description

ADR-0042 / GAP-002: returns the process-wide Claude embedder, lazily initialising it on first use. Binary and model overrides come from the explicit arguments; None falls back to PATH/env defaults via the builder.