{% extends "system_base.html" %} {% block title %}ai call — defossil{% endblock %} {% block system_content %}

AI call #{{ call.id }} {% if call.error %}failed{% endif %}

whencategorybackendmodeleffort inoutcosttime
{{ call.created_at|dt }} {{ call.category }} {{ call.backend }} {{ call.model or 'default' }} {{ call.effort or 'default' }} {{ '{:,}'.format(call.input_tokens) if call.input_tokens is not none else '—' }} {{ '{:,}'.format(call.output_tokens) if call.output_tokens is not none else '—' }} {{ '$%.3f' % call.cost_usd if call.cost_usd is not none else '—' }} {{ (call.duration_ms / 1000) | dur }}
{% if call.error %}

failed: {{ call.error }}

{% endif %}

Prompt ({{ '{:,}'.format(call.prompt|length) }} chars)

{{ call.prompt }}

Reply

{% if call.reply is not none %}
{{ call.reply }}
{% else %}

no reply — the call failed

{% endif %} {% endblock %}