From 59734ca24d1bd430fc225b7481e74d7ed1605c15 Mon Sep 17 00:00:00 2001 From: Michael Yang Date: Sat, 26 Aug 2023 12:20:28 -0700 Subject: [PATCH] set default template --- server/images.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/images.go b/server/images.go index e727d280..f847e09e 100644 --- a/server/images.go +++ b/server/images.go @@ -163,8 +163,9 @@ func GetModel(name string) (*Model, error) { } model := &Model{ - Name: mp.GetFullTagname(), - Digest: manifest.Config.Digest, + Name: mp.GetFullTagname(), + Digest: manifest.Config.Digest, + Template: "{{ .Prompt }}", } for _, layer := range manifest.Layers {