{% extends "reports/_layout.html" %} {% from "_macros.html" import icon %} {% set section = "reports" %} {% block title %}{{ report.title }} - {{ brand.name }}{% endblock %} {% block heading %}{{ report.title }}{% endblock %} {% block actions %} {{ icon("chevron-left", "icon--sm") }} All reports {% endblock %} {% block reports_content %}

Filed {%- if report.source == "schedule" %} by a schedule {%- elif report.source == "chat" %} from a chat {%- endif %} {%- if report.model_id %} ยท {{ report.model_id }}{% endif %}.

{% if report.error %}
{{ icon("warning", "alert__icon") }} This run did not finish cleanly. {{ report.error }}
{% endif %} {# `body_html` has been through services/markdown.py, which is the one path allowed to emit HTML here. A report is model output and hard rule 6 applies to it exactly as it does to a reply. #}
{{ body_html | safe }}
{% endblock %}