tjtanaa's picture
init streamlit chat-template ui
7a664fd
raw
history blame contribute delete
129 Bytes
{% for message in messages %}
{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}
{% endfor %}