diff --git a/workflow/model/entity/flow_user.go b/workflow/model/entity/flow_user.go index 71c7ae1..79bdb56 100644 --- a/workflow/model/entity/flow_user.go +++ b/workflow/model/entity/flow_user.go @@ -15,19 +15,20 @@ type FlowInfo struct { } type FlowNode struct { - Id string `json:"id"` - NodeCode node.NodeType `json:"nodeCode"` - Name string `json:"name"` - Config map[string]interface{} `json:"config"` - PatchLayout bool `json:"patchLayout"` - SkillName string `json:"skillName"` - PromptContent string `json:"promptContent"` - IsSaveFile bool `json:"isSaveFile"` - InputSource []FlowNodeInputSource `json:"inputSource"` // 前端指定:来源节点ID - FormConfig []node.NodeFormField `json:"formConfig"` - ModelConfig node.ModelItem `json:"modelConfig"` - OutputConfig []node.NodeFormField `json:"outputConfig"` - OutputResult []node.NodeFormField `json:"outputResult" ds:"节点输出结果"` + Id string `json:"id"` + NodeCode node.NodeType `json:"nodeCode"` + Name string `json:"name"` + Config map[string]interface{} `json:"config"` + PatchLayout bool `json:"patchLayout"` + SkillName string `json:"skillName"` + PromptContent string `json:"promptContent"` + IsSaveFile bool `json:"isSaveFile"` + InputSource []FlowNodeInputSource `json:"inputSource"` // 前端指定:来源节点ID + FormConfig []node.NodeFormField `json:"formConfig"` + ModelConfig node.ModelItem `json:"modelConfig"` + ModelOutputFields []string `json:"modelOutputFields"` + OutputConfig []node.NodeFormField `json:"outputConfig"` + OutputResult []node.NodeFormField `json:"outputResult" ds:"节点输出结果"` } type FlowNodeInputSource struct {