7 4 days ago

43d4c453f84f ยท 164B
{{- $last := "" }}{{ range .Messages }}{{ if eq .Role "user" }}{{ $last = .Content }}{{ end }}{{ end }}<|im_start|>user
{{ $last }}<|im_end|>
<|im_start|>assistant