{% extends "base.html" %} {% block title %}Runs{% endblock %} {% block content %}

Runs{% if workspace %}: {{ workspace.name }}{% endif %}

Jede Chat-Antwort und jeder erneut beantragte Vorschlag läuft als Run im Worker. Gezeigt werden die letzten 200 Runs im Zeitraum, neueste zuerst, mit Status, Dauer und Verbrauch.

{% if rows %}
{% if not workspace %}{% endif %} {% for row in rows %}{% set r = row.run %} {% if not workspace %}{% endif %} {% endfor %}
GestartetWorkspaceVonArtStatusDauerTokensKosten ({{ currency }})
{% if r.chat_session_id %}{{ r.created.strftime('%d.%m.%Y %H:%M') }}{% else %}{{ r.created.strftime('%d.%m.%Y %H:%M') }}{% endif %}{{ row.workspace }}{{ row.user }} {{ r.kind }}{% if r.attempts > 1 %}

{{ r.attempts }} Versuche

{% endif %}
{{ labels.get(r.status, r.status) }} {% if r.error %}

{{ r.error[:200] }}

{% endif %}
{% if row.duration is not none %}{{ '%.1f'|format(row.duration) }} s{% else %}–{% endif %} {{ row.tokens|number }} {{ row.cost|money }}
{% else %}

Keine Runs im Zeitraum.

{% endif %}
{% endblock %}