Commit 6e46338d authored by Daniel Reis's avatar Daniel Reis
Browse files

Reverting previous changes

parent d1773035
......@@ -918,8 +918,7 @@ func ShowModelfile(model *Model) (string, error) {
mt.From = model.ModelPath
if model.OriginalModel != "" {
mp := ParseModelPath(model.OriginalModel)
mt.From = mp.GetShortTagname()
mt.From = model.OriginalModel
}
modelFile := `# Modelfile generated by "ollama show"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment