feat: add workflow run audit graph component and enhance workflow run details

This commit is contained in:
mlogclub
2026-06-25 21:42:14 +08:00
parent b806a2208b
commit d11080e14b
9 changed files with 501 additions and 1 deletions
+3
View File
@@ -134,6 +134,9 @@ func BuildAIWorkflowRunDetail(item *models.AIWorkflowRun, nodes []models.AIWorkf
func BuildAIWorkflowRunDetailWithContext(item *models.AIWorkflowRun, nodes []models.AIWorkflowNodeRun, workflow *models.AIWorkflow, version *models.AIWorkflowVersion, agent *models.AIAgent) response.AIWorkflowRunResponse {
ret := BuildAIWorkflowRunWithContext(item, workflow, version, agent)
if version != nil {
ret.Definition = parseWorkflowDefinition(version.Definition)
}
ret.Nodes = BuildAIWorkflowNodeRunList(nodes)
return ret
}