mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-11 00:07:07 +00:00
update embedded templates
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{{- if .Messages }}
|
||||
{{- if .System }}{{ .System }}
|
||||
{{- end }}
|
||||
|
||||
{{ end }}
|
||||
{{- range .Messages }}
|
||||
{{- if eq .Role "user" }}### Instruction:
|
||||
{{- else if eq .Role "assistant" }}### Response:
|
||||
@@ -8,7 +9,7 @@
|
||||
{{ .Content }}
|
||||
|
||||
{{ end }}### Response:
|
||||
{{ else }}
|
||||
{{ else -}}
|
||||
{{ if .System }}{{ .System }}
|
||||
|
||||
{{ end }}{{ if .Prompt }}### Instruction:
|
||||
@@ -16,4 +17,5 @@
|
||||
|
||||
{{ end }}### Response:
|
||||
{{ .Response }}
|
||||
{{- end }}
|
||||
|
||||
{{ end -}}
|
||||
Reference in New Issue
Block a user