{% for message in messages %}{{ message['role'] }}: {{ message['content'] }} {% endfor %}assistant: