| {%- for message in messages %} | |
| {{- message.content.strip('\n') + '\n' }} | |
| {%- endfor %} {%- if not add_generation_prompt %} | |
| {{- '<|im_end|>' }} | |
| {%- endif %} |
| {%- for message in messages %} | |
| {{- message.content.strip('\n') + '\n' }} | |
| {%- endfor %} {%- if not add_generation_prompt %} | |
| {{- '<|im_end|>' }} | |
| {%- endif %} |