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