mirror of
https://github.com/ollama/ollama.git
synced 2025-04-07 03:18:24 +02:00
fix typo in modelfile generation (#4439)
This commit is contained in:
parent
c344da4c5a
commit
f2cf97d6f1
@ -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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user