refactor: remove AgentRunLog related code and components

- Deleted AgentRunLogResponse struct from skill_response.go.
- Removed agent_run_log_repository.go and agent_run_log_service.go files.
- Eliminated AgentRunLogDetailDialog component and its related logic from the dashboard.
- Removed agent run log fetching functions from admin API.
- Updated navigation and localization files to remove references to agent run logs.
This commit is contained in:
mlogclub
2026-06-23 23:22:18 +08:00
parent 1440c3c4c3
commit 6122a1d881
23 changed files with 126 additions and 2026 deletions
-65
View File
@@ -1698,70 +1698,6 @@
"resumeCompleted": "已恢复完成",
"resumeReply": "恢复回复"
},
"agentRunLog": {
"allActions": "全部动作",
"handoff": "转人工",
"reply": "回复",
"fallback": "兜底",
"allStatus": "全部状态",
"allHitl": "全部 HITL",
"hitlPending": "等待确认",
"hitlConfirmed": "已确认",
"hitlCancelled": "已取消",
"hitlExpired": "已过期",
"hitlTriggered": "已触发",
"hitlPendingSummary": "Graph Tool 已发起确认,正在等待用户回复。",
"hitlConfirmedSummary": "用户确认后已恢复执行,并完成后续流程。",
"hitlCancelledSummary": "用户已明确取消,本次确认流程已终止。",
"hitlExpiredSummary": "确认 checkpoint 已失效,需要重新发起。",
"hitlTriggeredSummary": "本次运行涉及确认式 HITL 流程。",
"allAgents": "全部 Agent",
"loadFailed": "加载 Agent 运行日志失败",
"loadAgentsFailed": "加载 AI Agent 列表失败",
"refresh": "刷新",
"filterUserMessage": "按用户问题筛选",
"plannedAction": "规划动作",
"finalAction": "最终动作",
"finalStatus": "最终状态",
"hitlStatus": "HITL 状态",
"selectAgent": "选择 Agent",
"searchAction": "搜索动作",
"emptyAction": "未找到动作",
"searchStatus": "搜索状态",
"emptyStatus": "未找到状态",
"searchHitl": "搜索 HITL 状态",
"searchAgent": "搜索 Agent",
"emptyAgent": "未找到 Agent",
"query": "查询",
"emptyRows": "暂无 Agent 运行日志",
"time": "时间",
"userMessage": "用户问题",
"skillTool": "Skill / Tool",
"duration": "耗时",
"actions": "操作",
"handoffReason": "转人工原因:{reason}",
"routingRecommendation": "分流建议:{action}",
"draftReady": "草稿已就绪",
"detail": "详情",
"imageMessage": "[图片]",
"richMessage": "[富文本消息]",
"loadDetailFailed": "加载日志详情失败",
"detailTitle": "Agent 运行详情",
"detailDescription": "查看 planner 选择、最终动作、回复内容与错误信息。",
"close": "关闭",
"loading": "加载中...",
"logId": "日志ID",
"conversationId": "会话ID",
"messageId": "消息ID",
"planningStage": "规划阶段",
"executionResult": "执行结果",
"dynamicTools": "动态工具选择",
"graphToolCall": "Graph Tool 调用",
"botReply": "机器人回复",
"errorMessage": "错误信息",
"trace": "链路 Trace",
"notFound": "未找到详情数据"
},
"knowledge": {
"document": "文档",
"faq": "FAQ",
@@ -2339,7 +2275,6 @@
"aiWorkflows": "AI流程",
"skillDefinition": "Skills",
"mcp": "MCP tools",
"agentRunLogs": "运行日志",
"system": "系统管理",
"users": "用户管理",
"roles": "角色管理",