{% import "chats/macros.html" as m with context %} {# messages, a day at a time: who said it - a person, this conversation's agent in amber, another agent in purple - when, and what, Markdown as it reads; pictures that came in shown, other files by name; a reminder or other notice on a line of its own; a reply of the agent with what its turn did before it #} {% set seen = namespace(day=none) %} {% for message in messages %} {% set key, label = message.at_ms | day %} {% if key != seen.day %}{{ label }}{% set seen.day = key %}{% endif %} {% if message.system_message_kind %}