pub fn get_opencode_embedder(
opencode_binary: Option<&Path>,
opencode_model: Option<&str>,
) -> Result<&'static Mutex<LlmEmbedding>, AppError>Expand description
GAP-OPENCODE-001 / v1.0.90: returns the process-wide OpenCode 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.