Browse Source

Merge pull request #812 from jmorganca/mxyng/fix-format-string

fix: wrong format string type
Michael Yang 1 year ago
parent
commit
2870a9bfc8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      llm/llama.go

+ 1 - 1
llm/llama.go

@@ -70,7 +70,7 @@ func chooseRunners(workDir, runnerType string) []ModelRunner {
 		files, err := fs.Glob(llamaCppEmbed, path.Join(path.Dir(r.Path), "*"))
 		if err != nil {
 			// 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
 		}