pub async fn build_embedder(
feature_tier: FeatureTier,
app_config: &AppConfig,
) -> Option<Embedder>Expand description
Construct the Embedder for a given tier. Returns None for the
keyword tier (no embedder requested) and on load failure (caller
degrades to keyword fallback). On failure the diagnostic is emitted
via tracing::error! so operators see it in journalctl.
This is the single canonical embedder builder used by both serve()
(HTTP daemon) and cli::recall::run (offline recall). Prior to W6
each call site had its own copy, with subtly different fallback
shapes — the bug at issue #322 was a direct consequence.