From fddb303f23e68ef80a028257554979b22addb438 Mon Sep 17 00:00:00 2001 From: Michael Yang Date: Mon, 16 Oct 2023 16:14:12 -0700 Subject: [PATCH] fix: format string wrong type --- llm/llama.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llm/llama.go b/llm/llama.go index 80463eeb..4308fef8 100644 --- a/llm/llama.go +++ b/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 }