{% extends "base.html" %} {% from "parts.html" import facts %} {% set result = detail.result %} {% block title %}{{ result.message_id }} · {{ row.name }} · {{ APP_NAME }}{% endblock %} {% block heading %}{{ result.subject if result.subject is not none else result.message_id }}{% endblock %} {% block subheading %}
Agents/{{ row.name }}/{{ result.message_id }}
{% endblock %} {% block content %}

Message

{% if detail.unanswered %}
The mailbox service did not answer: the ids alone.
{% endif %}
Account
{{ result.account_id }}
Message
{{ result.message_id }}
{% if named %}
From
{{ result.sender | or_missing }}
Subject
{{ result.subject | or_missing }}
{% endif %}
Taken up
{{ result.created | when }}
State
{{ result.state }}

Decision

{% if result.label %}
Label
{{ result.label }}
Source
{{ result.source }}
Model
{{ result.model | or_missing }}
Refused
{{ result.refused | or_missing }}
Baseline
{{ result.baseline | or_missing }}
{% else %}

No decision recorded.

{% endif %}
{% if detail.fields or detail.details %}

Fields and details

{{ facts(detail.fields + detail.details) }}
{% endif %} {% if detail.evidence %}

Evidence

{% for quote in detail.evidence %} {% endfor %}
FieldValueQuoteFound in the mail
{{ quote.field }}{{ quote.value | or_missing }}{{ quote.quote | or_missing }}{{ quote.found | found }}
{% endif %}

Steps

{% for step in detail.steps %} {% endfor %}
StepPrompt versionModelTokens inTokens outMillisecondsAt
{{ step.step }}{{ step.prompt_version | or_missing }}{{ step.model | or_missing }}{{ step.tokens_in }}{{ step.tokens_out }}{{ step.duration_ms }}{{ step.at | when }}

Actions

{% for act in result.actions %} {% else %} {% endfor %}
ActionArgumentStageCarried outAt
{{ act.action }}{{ act.argument | or_missing }}{{ act.stage }}{{ "yes" if act.executed else "no, recorded" }}{{ act.at | when }}
none
{% endblock %}