Skip to main content

embed_passage_local_resolved

Function embed_passage_local_resolved 

Source
pub fn embed_passage_local_resolved(
    models_dir: &Path,
    text: &str,
) -> Result<(Vec<f32>, LlmBackendKind), AppError>
Expand description

BUG-003 / v1.0.85: split of embed_passage_local that reports the resolved LlmBackendKind based on the ACTUAL LlmEmbedding::flavour of the embedder constructed. When LlmEmbedding::detect_available substitutes claude for a missing codex, the operator sees the truth in envelope.backend_invoked.