pub fn open_model_source(path: impl AsRef<Path>) -> Result<Box<dyn ModelSource>>Expand description
Opens any supported model path: a .gguf file, or a directory in the
HuggingFace safetensors layout. This is the single entry point the CLI,
FFI and server use — format detection lives here.