model_capabilities
model_capabilities
¶
Model capability helpers shared by server model-selection routes.
Functions¶
is_embed_only_model
¶
Return whether a model identifier denotes a non-chat embedder.
Ollama does not expose capabilities through its model-list response, so
model selection needs a conservative name-based guard. Most embedding
models contain embed; the explicit prefixes cover common families
such as MiniLM, BGE, E5, and GTE whose names do not.