Explorar o código

refactor error

Josh Yan hai 10 meses
pai
achega
bd8d680e26
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      llm/server.go

+ 1 - 1
llm/server.go

@@ -561,7 +561,7 @@ func (s *llmServer) WaitUntilRunning(ctx context.Context) error {
 				msg = s.status.LastErrMsg
 			}
 			if strings.Contains(msg, "unknown model") {
-				return fmt.Errorf("this model is not supported by your version of Ollama. You may need to upgrade.")
+				return fmt.Errorf("this model is not supported by your version of Ollama. You may need to upgrade")
 			}
 			return fmt.Errorf("llama runner process has terminated: %v %s", err, msg)
 		default: