pub fn embedding_backend(
cli: Option<EmbeddingBackendChoice>,
) -> EmbeddingBackendChoiceExpand description
Embedding backend: CLI --embedding-backend > XDG embedding.backend > auto.
--embedding-backend advertised “optional XDG config set embedding.backend” in its own help while the key was absent from the
registry, so the documented command answered exit 1. This is the sibling
defect of the one GAP-SG-192 fixed for embedding.model.
An unparseable stored value falls back to the compiled default rather than aborting: a typo in a machine-wide config file must not make every invocation on the host unusable, and the flag still overrides it.