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
@@ -1697,70 +1697,6 @@
"resumeCompleted": "Resume completed",
"resumeReply": "Resume Reply"
},
"agentRunLog": {
"allActions": "All actions",
"handoff": "Handoff",
"reply": "Reply",
"fallback": "Fallback",
"allStatus": "All statuses",
"allHitl": "All HITL",
"hitlPending": "Pending approval",
"hitlConfirmed": "Confirmed",
"hitlCancelled": "Cancelled",
"hitlExpired": "Expired",
"hitlTriggered": "Triggered",
"hitlPendingSummary": "A Graph Tool has requested confirmation and is waiting for the user.",
"hitlConfirmedSummary": "The user confirmed the action, execution resumed, and the follow-up flow completed.",
"hitlCancelledSummary": "The user cancelled the action, so the confirmation flow was stopped.",
"hitlExpiredSummary": "The confirmation checkpoint has expired and needs to be started again.",
"hitlTriggeredSummary": "This run involved a confirmation-based HITL flow.",
"allAgents": "All agents",
"loadFailed": "Could not load agent run logs.",
"loadAgentsFailed": "Could not load AI agents.",
"refresh": "Refresh",
"filterUserMessage": "Filter by user message",
"plannedAction": "Planned action",
"finalAction": "Final action",
"finalStatus": "Final status",
"hitlStatus": "HITL status",
"selectAgent": "Select agent",
"searchAction": "Search actions",
"emptyAction": "No matching actions",
"searchStatus": "Search statuses",
"emptyStatus": "No matching statuses",
"searchHitl": "Search HITL status",
"searchAgent": "Search agents",
"emptyAgent": "No agents found",
"query": "Search",
"emptyRows": "No agent run logs yet",
"time": "Time",
"userMessage": "User Message",
"skillTool": "Skill / Tool",
"duration": "Duration",
"actions": "Actions",
"handoffReason": "Handoff reason: {reason}",
"routingRecommendation": "Routing recommendation: {action}",
"draftReady": "draft ready",
"detail": "Details",
"imageMessage": "[Image]",
"richMessage": "[Rich text message]",
"loadDetailFailed": "Could not load log details.",
"detailTitle": "Agent Run Details",
"detailDescription": "Inspect planner selection, final action, reply content, and errors.",
"close": "Close",
"loading": "Loading...",
"logId": "Log ID",
"conversationId": "Conversation ID",
"messageId": "Message ID",
"planningStage": "Planning Stage",
"executionResult": "Execution Result",
"dynamicTools": "Dynamic Tool Selection",
"graphToolCall": "Graph Tool Call",
"botReply": "Bot Reply",
"errorMessage": "Error Message",
"trace": "Trace",
"notFound": "No details found"
},
"knowledge": {
"document": "Documents",
"faq": "FAQ",
@@ -2339,7 +2275,6 @@
"aiWorkflows": "AI Workflows",
"skillDefinition": "Skills",
"mcp": "MCP tools",
"agentRunLogs": "Run Logs",
"system": "System",
"users": "Users",
"roles": "Roles",
-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": "角色管理",