Reverting previous changes
This commit is contained in:
parent
d17730356a
commit
6e46338d44
1 changed files with 1 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue