Reverting previous changes

This commit is contained in:
Daniel Reis 2023-11-10 20:21:35 +00:00
parent d17730356a
commit 6e46338d44

View file

@ -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"