Merge pull request #426 from jmorganca/default-template

set default template
This commit is contained in:
Michael Yang 2023-08-26 14:15:38 -07:00 committed by GitHub
commit 495e8b0a6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {