feat: save run logs when each workflow node completed

This commit is contained in:
Fu Diwei
2025-02-10 16:12:12 +08:00
parent 4f5c1dc6d7
commit cbf711ee60
8 changed files with 40 additions and 22 deletions

View File

@@ -55,8 +55,8 @@ type WorkflowNode struct {
Inputs []WorkflowNodeIO `json:"inputs"`
Outputs []WorkflowNodeIO `json:"outputs"`
Next *WorkflowNode `json:"next"`
Branches []WorkflowNode `json:"branches"`
Next *WorkflowNode `json:"next,omitempty"`
Branches []WorkflowNode `json:"branches,omitempty"`
Validated bool `json:"validated"`
}