[agents] Show prompt and turn count in agent session detail

This commit is contained in:
2026-08-24 16:55:52 -04:00
parent b331b4f04b
commit 631b68ef55

View File

@ -19,12 +19,16 @@
<thead> <thead>
<tr> <tr>
<th scope="col">Date</th> <th scope="col">Date</th>
<th scope="col">Prompt</th>
<th scope="col">Turns</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% for scrobble in scrobbles %} {% for scrobble in scrobbles %}
<tr> <tr>
<td><a href={{scrobble.get_absolute_url}}>{{scrobble.local_timestamp}}</a></td> <td><a href={{scrobble.get_absolute_url}}>{{scrobble.local_timestamp}}</a></td>
<td>{{scrobble.logdata.title|truncatechars_html:80}}</td>
<td>{% if scrobble.logdata.turns %}{{scrobble.logdata.turns|length}}{% else %}—{% endif %}</td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>