All jobs

{{ job.id }} {{ job.status }}

{% if job.error_code or job.error_message %} {% endif %} {% if job.status == 'awaiting_approval' %}

Awaiting approval of route {{ job.approval_route or '—' }} until {{ local(job.approval_deadline) }}

Deny {% endif %} {% if job.status in ['queued', 'awaiting_approval', 'running'] %} Cancel {% endif %}
{% if terminal %}

Rating

{% if last_rating %}

Rated: {{ last_rating.value }}{% if last_rating.should_tier %}, should be tier {{ last_rating.should_tier }}{% endif %}{% if last_rating.by %}, by {{ last_rating.by }}{% endif %}

{% endif %}
{% endif %}
Attempts
{{ totals.attempts }}
Tokens
{% if totals.tokens_in is none and totals.tokens_out is none %}—{% else %}{{ totals.tokens_in if totals.tokens_in is not none else '—' }} / {{ totals.tokens_out if totals.tokens_out is not none else '—' }}{% endif %}
Cost
{{ '$%.4f' % totals.cost_usd if totals.cost_usd is not none else '—' }}
Duration
{{ totals.duration_s|age }}
Prompt
{{ prompt }}
{% if prompt_truncated %}

Showing the first 2000 of {{ prompt_chars }} characters.

{% endif %}
Final text
{{ job.text or '—' }}

Attempts

{% if attempts %}
    {% for attempt in attempts %}
  1. #{{ attempt.n }} {{ attempt.route }}

    Pool
    {{ attempt.pool }}
    Started
    {{ local(attempt.started_at) }}
    Finished
    {{ local(attempt.finished_at) }}
    Outcome
    {{ attempt.outcome or '—' }}
    Duration
    {{ '%.1f' % attempt.duration_s if attempt.duration_s is not none else '—' }}
    Tokens
    {% if attempt.tokens_in is none and attempt.tokens_out is none %}—{% else %}{{ attempt.tokens_in if attempt.tokens_in is not none else '—' }} / {{ attempt.tokens_out if attempt.tokens_out is not none else '—' }}{% endif %}
    Cost
    {{ '$%.4f' % attempt.cost_usd if attempt.cost_usd is not none else '' }}
    {% if attempt.log_tail %}
    Output tail
    {{ attempt.log_tail }}
    {% endif %}
  2. {% endfor %}
{% if not attempts | selectattr("log_tail") | list %}

No output.

{% endif %} {% else %}

No attempts yet.

{% endif %}

Changed files

{% if 'changes_unknown' in job.violations %}

Could not measure the changed files.

{% endif %} {% if job.changed_files is none and job.repo_root is none %}

Not tracked: the directory is outside git.

{% elif job.changed_files is none %}

Not measured yet.

{% elif job.changed_files %} {% elif 'changes_unknown' not in job.violations %}

No files changed.

{% endif %}

Violations

{% if job.violations %} {% else %}

No violations.

{% endif %}