mirror of
https://github.com/ollama/ollama.git
synced 2026-04-19 14:54:21 +02:00
update templates to use messages
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
{{ if .System }}<|system|>
|
||||
{{ .System }}</s>
|
||||
{{ end }}{{ if .Prompt }}<|user|>
|
||||
{{ .Prompt }}</s>
|
||||
{{- range .Messages }}<|{{ .Role }}|>
|
||||
{{ .Content }}</s>
|
||||
{{ end }}<|assistant|>
|
||||
{{ .Response }}</s>
|
||||
|
||||
Reference in New Issue
Block a user