{% extends "base.html" %}
{% from "macros.html" import status_badge, cost %}
{% block title %}Run #{{ run.id }} · LLM Admin{% endblock %}
{% block content %}
Run #{{ run.id }}
Agent
{{ run.agent_type }}
Status
{{ status_badge(run.status) }}
Cost
{{ cost(run.cost_usd) }}
Tokens (in/out)
{{ run.prompt_tokens or 0 }} / {{ run.completion_tokens or 0 }}
Duration
{{ run.duration_ms or 0 }}ms
Sampling
| temperature | {{ run.temperature }} | top_p | {{ run.top_p }} | max_tokens | {{ run.max_tokens }} |
| seed | {{ run.seed }} | provider | {{ run.provider }} | fingerprint | {{ run.model_fingerprint or '—' }} |
| input_hash | {{ run.input_hash or '—' }} |
{% if run.job_id %}
Job
Job #{{ run.job_id }}
{% endif %}
{% if run.payload %}
Rendered prompts
{% if run.payload.rendered_system %}system
{{ run.payload.rendered_system }}{% endif %}
{% if run.payload.rendered_user %}user
{{ run.payload.rendered_user }}{% endif %}
Response
{% if run.payload.raw_response %}{{ run.payload.raw_response }}{% endif %}
{% if run.payload.parsed_output %}parsed
{{ run.payload.parsed_output | tojson(indent=2) }}{% endif %}
{% endif %}
{% if run.configs %}
Configs
| Kind | Label |
{% for c in run.configs %}
| {{ c.config_kind }} | {{ resolve_config(c.config_kind, c.config_id) }} |
{% endfor %}
{% endif %}
{% if run.validations %}
Validations
| Validator | Severity | Passed | Details |
{% for v in run.validations %}
| {{ v.validator }} |
{{ v.severity }} |
{% if v.passed %}✅{% else %}❌{% endif %} |
{{ v.details | tojson if v.details else '—' }} |
{% endfor %}
{% endif %}
{% if run.outcomes %}
Outcomes
| Kind | Score | Notes | Recorded |
{% for o in run.outcomes %}
| {{ o.outcome_kind }} | {{ o.score if o.score is not none else '—' }} | {{ o.notes or '—' }} | {{ o.recorded_at }} |
{% endfor %}
{% endif %}
{% if run.tags %}
Tags
{% for t in run.tags %}{{ t }}{% endfor %}
{% endif %}
{% if run.metrics %}
Metrics
| Name | Value |
{% for m in run.metrics %}
| {{ m.metric_name }} | {{ m.metric_value }} |
{% endfor %}
{% endif %}
{% if run.links_out or run.links_in %}
Links
{% if run.links_out %}
Outgoing (this → child)
{% endif %}
{% if run.links_in %}
Incoming (parent → this)
{% endif %}
{% endif %}
{% if run.error %}
Error
{{ run.error }}
{% endif %}
{% endblock %}