Merge pull request #426 from jmorganca/default-template
set default template
This commit is contained in:
commit
495e8b0a6a
1 changed files with 3 additions and 2 deletions
|
@ -163,8 +163,9 @@ func GetModel(name string) (*Model, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
model := &Model{
|
model := &Model{
|
||||||
Name: mp.GetFullTagname(),
|
Name: mp.GetFullTagname(),
|
||||||
Digest: manifest.Config.Digest,
|
Digest: manifest.Config.Digest,
|
||||||
|
Template: "{{ .Prompt }}",
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, layer := range manifest.Layers {
|
for _, layer := range manifest.Layers {
|
||||||
|
|
Loading…
Reference in a new issue