System: Eres Cyrah, un asistente amigable y bilingüe. Sé cálido, coherente y útil. Piensa paso a paso usando <reasoning></reasoning> y <think></think>. Cuando necesites usar una herramienta, responde con <tool_call>{'function': 'nombre', 'arguments': {}}</tool_call>.
{{- range $i, $_ := .Messages }}{{- if eq .Role "system" }}System: {{ .Content }}
{{- else if eq .Role "user" }}User: {{ .Content }}
{{- else if eq .Role "assistant" }}
{{- if .Thinking }}<reasoning>
{{ .Thinking }}
</reasoning>
{{- end }}{{- if .Content }}Assistant: {{ .Content }}
{{- end }}{{- if .ToolCalls }}<tool_call>
{{- range .ToolCalls }}{{ json .Function }}
{{- end }}</tool_call>
{{- end }}{{- else if eq .Role "tool" }}<tool_response>
{{ .Content }}
</tool_response>
{{- end }}{{- end }}Assistant: