pub fn embedding_model(cli: Option<&str>) -> Option<String>Expand description
Embedding model: CLI --embedding-model > XDG embedding.model > None.
--embedding-model documented this fallback from the day it shipped, but no
resolver existed, so config set embedding.model was accepted, stored and
then ignored — the invocation still died with exit 78 asking for the flag.
An empty stored value is treated as unset: a blank model name would reach the OpenRouter client and fail there with a far less legible error.