fix: format string wrong type

This commit is contained in:
Michael Yang 2023-10-16 16:14:12 -07:00
parent 9ef2fce33a
commit fddb303f23

View file

@ -70,7 +70,7 @@ func chooseRunners(workDir, runnerType string) []ModelRunner {
files, err := fs.Glob(llamaCppEmbed, path.Join(path.Dir(r.Path), "*")) files, err := fs.Glob(llamaCppEmbed, path.Join(path.Dir(r.Path), "*"))
if err != nil { if err != nil {
// this is expected, ollama may be compiled without all runners packed in // this is expected, ollama may be compiled without all runners packed in
log.Printf("%s runner not found: %v", r, err) log.Printf("%s runner not found: %v", r.Path, err)
continue continue
} }