set default template

This commit is contained in:
Michael Yang 2023-08-26 12:20:28 -07:00
parent 2ecc3a33c3
commit 59734ca24d

View file

@ -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 {