{% extends "admin/base.html" %} {% load humanize %} {% block title %}{{ title }} | OpenClaw Archive{% endblock %} {% block content %}
| Seq | Time | Role | Tool / Meta | Content |
|---|---|---|---|---|
| {{ msg.seq }} | {{ msg.timestamp|date:"H:i:s" }} | {% if msg.role == "user" %} User {% elif msg.role == "assistant" %} Assistant {% elif msg.role == "toolResult" %} Tool Result {% elif msg.role == "tool" %} Tool {% else %} {{ msg.role }} {% endif %} |
{% if msg.tool_name %}
Tool:
{% endif %}
{% if msg.exit_code != None %}
{{ msg.tool_name }}Exit: {{ msg.exit_code }}
{% endif %}
{% if msg.duration_ms %}
Duration: {{ msg.duration_ms }}ms
{% endif %}
{% if msg.tokens_total > 0 %}
Tokens: {{ msg.tokens_total|intcomma }}
{% endif %}
{% if msg.is_error %}
Error
{% endif %}
|
{% if msg.content_text %}
{{ msg.content_text|truncatechars:2000 }}
{% else %}
(empty)
{% endif %}
{% with msg.tool_calls.all as tc_list %}
{% if tc_list %}
{% for tc in tc_list %}
{% endif %}
{% endwith %}
TC: {{ tc.tool_name }} ({{ tc.tool_call_id|truncatechars:20 }})
{% if tc.arguments %}
{% endfor %}
Arguments{{ tc.arguments|pprint }}
Result ({{ tc.result_text|length }} chars){{ tc.result_text|truncatechars:2000 }}
|