{% for sess in sessions %}
{{ sess.info.title }}
Session ID: {{ sess.info.id }}
Directory: {{ sess.info.directory }}
Created: {{ sess.created_text }} | Updated: {{ sess.updated_text }}
Messages: {{ sess.message_count }} | Tools: {{ sess.tool_call_count }} | Tokens: in {{ "{:,}".format(sess.total_input_tokens) }} / out {{ "{:,}".format(sess.total_output_tokens) }} {% if sess.total_reasoning_tokens > 0 %} / reasoning {{ "{:,}".format(sess.total_reasoning_tokens) }}{% endif %} | Cost: ${{ "%.6f"|format(sess.total_cost) }}
{% for msg in sess.rendered_messages %}
{{ msg.role_label }} {% if msg.agent %}agent: {{ msg.agent }}{% endif %} {% if msg.mode %}mode: {{ msg.mode }}{% endif %} {% if msg.model %}model: {{ msg.provider }}/{{ msg.model }}{% endif %} {% if msg.finish %}finish: {{ msg.finish }}{% endif %}
{{ msg.created_text }}
{% if msg.error %}
❌ {{ msg.error }}
{% endif %}
{{ msg.token_text }}
cost ${{ msg.cost_text }}
{% for part in msg.parts %}
{{ part.html | safe }}
{% endfor %}
{% endfor %}
{% endfor %}