{% extends "base.html" %} {% block title %}{{ t('概览') }} · {{ product_name }}{% endblock %} {% block content %}
{{ t('可查询的目标') }}{{ queryable }}
{{ t('我的 Token') }} {{ token_count }} {% if not token_count %}{{ t('去生成 Token') }}{% endif %}
{{ t('近 24 小时工具调用') }}{{ call_count }}
{% if not queryable %}

{{ t('还没有可查询的目标,请联系管理员') }}

{% endif %}

{{ t('最近的工具调用') }}

{{ t('查看全部') }}
{% if calls %}
{% for row in calls %} {% endfor %}
{{ t('时间') }}{{ t('环境') }}{{ t('目标名') }}{{ t('工具名') }}{{ t('结果') }}
{{ local_time(row.at) }} {% if row.environment_key %} {% if row.environment_key == 'default' and row.environment_title == '默认' %}{{ t('默认') }}{% else %}{{ row.environment_title or row.environment_key }}{% endif %} {% if row.environment_title and row.environment_title != row.environment_key %}{{ row.environment_key }}{% endif %} {% else %}—{% endif %} {{ row.target }} {{ row.tool }} {% if row.known and row.ok %}{{ t('成功') }}{% elif row.error %}{{ t(ERROR_CODE_DISPLAY, code=row.error, label=t(error_label(row.error))) }}{% else %}—{% endif %}
{% else %}

{{ t('近 24 小时还没有工具调用。') }}

{% endif %} {% endblock %}