{% extends "base.html" %} {% block title %}Audit Log{% endblock %} {% block content %}
Clear
{% if entries %}
{% for entry in entries %} {% endfor %}
Timestamp Agent Task Contexts Served Tokens Used Budget Mode Latency
{{ entry.timestamp.strftime('%Y-%m-%d %H:%M:%S') }} {{ entry.agent_id or 'anonymous' }} {{ entry.task[:60] }}{% if entry.task|length > 60 %}...{% endif %} {{ entry.contexts_served|length }} {{ entry.tokens_used }} {{ entry.tokens_budget }} {{ entry.librarian_mode }} {{ entry.latency_ms }}ms
{% if total_pages > 1 %} {% endif %}

Showing {{ entries|length }} of {{ total_entries }} entries

{% else %}

No audit entries found

{% if filter_agent %}

Try clearing the filter to see all entries.

{% else %}

Audit entries will appear here when contexts are queried.

{% endif %}
{% endif %} {% endblock %}