[UX] Agent 使用统计 #23

Closed
opened 2026-05-05 01:01:41 +08:00 by admin · 0 comments
Owner

背景

缺少每个 Agent 的用量和性能数据,无法评估 Agent 质量。

需求

  1. Agent 详情页增加统计卡片:总调用次数、成功率、平均耗时、平均 token 消耗
  2. 时间趋势图:近 7/30 天调用量变化
  3. Top 错误类型分布

涉及模块

  • backend/app/api/agents.py — 新增统计端点
  • frontend/src/views/AgentConfig.vue — 统计面板

优先级

中 — 数据驱动优化

## 背景 缺少每个 Agent 的用量和性能数据,无法评估 Agent 质量。 ## 需求 1. Agent 详情页增加统计卡片:总调用次数、成功率、平均耗时、平均 token 消耗 2. 时间趋势图:近 7/30 天调用量变化 3. Top 错误类型分布 ## 涉及模块 - backend/app/api/agents.py — 新增统计端点 - frontend/src/views/AgentConfig.vue — 统计面板 ## 优先级 中 — 数据驱动优化
admin self-assigned this 2026-05-05 01:01:41 +08:00
admin closed this issue 2026-05-10 14:35:33 +08:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/aiagent#23