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",