Index page was displaying raw UTC datetime; the | utc8 filter converts it to Asia/Taipei time (UTC+8).
31 lines
931 B
HTML
31 lines
931 B
HTML
{% extends "layout.html" %}
|
|
{% block title %}hermes-trace — Sessions{% endblock %}
|
|
{% block content %}
|
|
<h1>hermes-trace</h1>
|
|
<p class="subtitle">LLM turn telemetry viewer — browse sessions and inspect API call details.</p>
|
|
|
|
{% if sessions %}
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Session ID</th>
|
|
<th>Turns</th>
|
|
<th>Last Activity</th>
|
|
<th>Models</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for s in sessions %}
|
|
<tr>
|
|
<td><a href="/session/{{ s.session_id | urlencode }}">{{ s.session_id[:48] }}{% if s.session_id | length > 48 %}…{% endif %}</a></td>
|
|
<td>{{ s.turn_count }}</td>
|
|
<td>{{ s.last_activity | utc8 }}</td>
|
|
<td class="models-cell">{{ s.models }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% else %}
|
|
<div class="empty-state">No sessions recorded yet.</div>
|
|
{% endif %}
|
|
{% endblock %}
|