{% extends "base.html" %} {% block title %}Trace {{ trace.id }}{% endblock %} {% block content %}

Trace {{ trace.id }}

{{ trace.workflow }} · {{ trace.adapter }} · {{ trace.origin }} · {{ trace.created_at }} · status {{ trace.outcome.status }} · tokens in {{ "{:,}".format(trace.outcome.usage.input_tokens + trace.outcome.usage.cache_read_tokens + trace.outcome.usage.cache_creation_tokens) }} · out {{ "{:,}".format(trace.outcome.usage.output_tokens) }}

Task: {{ trace.task_prompt }}

Inputs: {{ trace.inputs }}

{% for e in trace.events %} {% endfor %}
#kindtool / textargsresult
{{ e.idx }} {{ e.kind }} {% if e.kind == "tool_call" %}{{ e.tool }}{% if e.is_error %} error{% endif %}{% else %}{{ e.text[:300] }}{% endif %} {% if e.kind == "tool_call" %}{{ e.args }}{% endif %} {% if e.kind == "tool_call" %}{{ (e.result | string)[:300] }}{% endif %}
{% endblock %}