diff --git a/server/images.go b/server/images.go index 380ddb10..d6b53afa 100644 --- a/server/images.go +++ b/server/images.go @@ -951,7 +951,10 @@ func ShowModelfile(model *Model) (string, error) { FROM {{ .From }} TEMPLATE """{{ .Template }}""" + +{{- if .System }} SYSTEM """{{ .System }}""" +{{- end }} {{ .Params }} ` for _, l := range mt.Model.AdapterPaths {