Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
Removed inline parse model path
Daniel Reisd17730356a2d
diff --git a/server/images.go b/server/images.goindex f0a55d3b0..e16f4bb4e 100644--- a/server/images.go+++ b/server/images.go@@ -918,7 +918,8 @@ func ShowModelfile(model *Model) (string, error) {mt.From = model.ModelPathif model.OriginalModel != "" {- mt.From = ParseModelPath(model.OriginalModel).GetShortTagname()+ mp := ParseModelPath(model.OriginalModel)+ mt.From = mp.GetShortTagname()}modelFile := `# Modelfile generated by "ollama show"