{% extends "base.html" %} {% block title %}zcbot · tasks{% endblock %} {% block nav %} tasks {% endblock %} {% block content %}

tasks 最近 {{ tasks|length }} 条{% if status %} · status={{ status }}{% endif %}

{% if status %}reset{% endif %}
{% if not tasks %}

没有 task{% if status %}(status={{ status }}){% endif %}。 CLI 起一个:cli.py chat --desc "...";Web 起 task 留到 G6。

{% else %} {% for t in tasks %} {% endfor %}
id updated status mode model msgs tokens desc / dir
{{ t.task_id_short }} {{ t.updated_at.strftime("%m-%d %H:%M") }} {{ t.status }} {{ t.mode }} {{ t.model_label }} {{ t.n_messages }} {{ t.tokens }} {% if t.description %}
{{ t.description }}
{% endif %} {% if t.task_dir %}
{{ t.task_dir }}
{% endif %}
{% endif %} {% endblock %}