Skip to main content

embed_via_claude_local

Function embed_via_claude_local 

Source
pub fn embed_via_claude_local(
    _models_dir: &Path,
    text: &str,
    claude_binary: Option<&Path>,
    claude_model: Option<&str>,
) -> Result<Vec<f32>, AppError>
Expand description

ADR-0042 / GAP-002: route a single passage through the Claude embedder. Used by the Claude arm of embed_via_backend so the fallback chain stops treating Claude as a synonym for codex.