Skip to main content

embed_via_opencode_local_resolved

Function embed_via_opencode_local_resolved 

Source
pub fn embed_via_opencode_local_resolved(
    _models_dir: &Path,
    text: &str,
    opencode_binary: Option<&Path>,
    opencode_model: Option<&str>,
) -> Result<(Vec<f32>, LlmBackendKind), AppError>
Expand description

GAP-OPENCODE-001 / v1.0.90: route a single passage through the OpenCode embedder, reporting the resolved LlmBackendKind::Opencode. Constructs an OpenCode-flavoured embedder via with_opencode_builder (no PATH probe, no silent substitution).