pub fn ollama_profile(
has_projector: bool,
weight_path: Option<&str>,
) -> GgufArchitectureProfileExpand description
The profile for an Ollama model: vision when it ships a projector, otherwise
the GGUF architecture’s profile (read from weight_path) if recognized, else
the plain chat default.
weight_path must be absolute — a leading ~ is not expanded (the Ollama
scanner always passes a resolved blob path;
a ~-relative path would fail to open and fall through to the chat default).