mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-29 06:28:23 +02:00
PR #4637 (MUL-3771) dropped hard-deleted agents from the per-agent leaderboard so they'd stop rendering as a bare UUID, but the top-line Cost/Tokens KPIs still count their spend (those totals aggregate task_usage_hourly without joining `agent`). The breakdown therefore no longer reconciled with the totals (#4640). Instead of dropping unknown-agent rows, fold them into a single aggregated "Deleted agents" row: sum(visible rows) == KPI total again, with no UUID exposed. Archived agents still appear as themselves (the agent list is fetched with include_archived). The bucket carries tokens + cost only; Time/Tasks render as "—" since the run-time rollups inner-join `agent` and never attribute time to deleted agents. - bucketUnknownAgentRows replaces filterKnownAgentRows in dashboard/utils - Leaderboard renders the sentinel bucket row with a neutral placeholder and a "{{count}} agents · {{deleted}} deleted" caption - i18n: deleted_agents + caption_with_deleted (en/zh-Hans/ja/ko) - tests cover bucket reconciliation, archived-stays, null-loading passthrough Co-authored-by: multica-agent <github@multica.ai>
61 lines
1.9 KiB
JSON
61 lines
1.9 KiB
JSON
{
|
|
"title": "사용량",
|
|
"subtitle": "이 워크스페이스의 토큰 비용과 에이전트 활동입니다.",
|
|
"filter": {
|
|
"project_label": "프로젝트",
|
|
"all_projects": "모든 프로젝트",
|
|
"period_label": "기간"
|
|
},
|
|
"kpi": {
|
|
"cost_label": "비용 · {{days}}일",
|
|
"tokens_label": "토큰 · {{days}}일",
|
|
"tokens_hint": "입력 {{input}} · 출력 {{output}}",
|
|
"run_time_label": "실행 시간 · {{days}}일",
|
|
"run_time_hint": "작업 {{tasks}}개 기준",
|
|
"tasks_label": "작업 · {{days}}일",
|
|
"tasks_hint": "실패 {{failed}}개"
|
|
},
|
|
"dim": {
|
|
"label": "단위",
|
|
"daily": "일별",
|
|
"weekly": "주별"
|
|
},
|
|
"daily": {
|
|
"title_cost": "일별 비용",
|
|
"title_tokens": "일별 토큰",
|
|
"title_time": "일별 실행 시간",
|
|
"title_tasks": "일별 작업",
|
|
"metric_cost": "비용",
|
|
"metric_tokens": "토큰",
|
|
"metric_time": "시간",
|
|
"metric_tasks": "작업",
|
|
"no_data": "이 기간에는 사용량이 없습니다."
|
|
},
|
|
"weekly": {
|
|
"title_cost": "주별 비용",
|
|
"title_tokens": "주별 토큰",
|
|
"title_time": "주별 실행 시간",
|
|
"title_tasks": "주별 작업",
|
|
"partial_label": "{{range}} (부분 · 7일 중 {{covered}}일)"
|
|
},
|
|
"leaderboard": {
|
|
"title": "리더보드",
|
|
"caption": "에이전트 {{count}}개",
|
|
"caption_with_deleted": "에이전트 {{count}}개 · 삭제됨 {{deleted}}개",
|
|
"deleted_agents": "삭제된 에이전트",
|
|
"header_agent": "에이전트",
|
|
"header_tokens": "토큰",
|
|
"header_cost": "비용",
|
|
"header_time": "시간",
|
|
"header_tasks": "작업",
|
|
"no_data": "이 기간에는 에이전트 활동이 없습니다."
|
|
},
|
|
"empty": {
|
|
"title": "아직 사용량이 없습니다",
|
|
"body": "여기에서 에이전트가 작업을 실행하기 시작하면 토큰 비용과 실행 시간이 이 화면에 표시됩니다."
|
|
},
|
|
"duration": {
|
|
"less_than_minute": "1분 미만"
|
|
}
|
|
}
|