{{- range .Messages }} {{- if eq .Role "system" }}### System: {{- else if eq .Role "user" }}### User: {{- else if eq .Role "assistant" }}### Assistant: {{ .Content }} {{ continue }} {{- end }} {{ .Content }} {{ end }}### Assistant: