Browse Source

fix typo in modelfile generation (#4439)

Patrick Devine 11 months ago
parent
commit
f2cf97d6f1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/routes.go

+ 1 - 1
server/routes.go

@@ -709,7 +709,7 @@ func GetModelInfo(req api.ShowRequest) (*api.ShowResponse, error) {
 	}
 
 	var sb strings.Builder
-	fmt.Fprintln(&sb, "# Modelfile generate by \"ollama show\"")
+	fmt.Fprintln(&sb, "# Modelfile generated by \"ollama show\"")
 	fmt.Fprintln(&sb, "# To build a new Modelfile based on this, replace FROM with:")
 	fmt.Fprintf(&sb, "# FROM %s\n\n", model.ShortName)
 	fmt.Fprint(&sb, model.String())