pub fn resolve_weights_file(path: &Path) -> Result<PathBuf, Error>
Resolve --weights to a single file: pass-through for files, or pick one .gguf / model.safetensors inside a directory.
--weights
.gguf
model.safetensors