ci/cd调整

This commit is contained in:
2026-06-08 13:39:20 +08:00
parent 34c5eeaf63
commit ab3a2d967e
6 changed files with 16 additions and 12 deletions

View File

@@ -163,7 +163,7 @@ func MergeLambda(ctx context.Context, input any) (any, error) {
// 2. 提取所有文案text_content_0,1,2...
var contents []node.NodeFormField
for i := 0; ; i++ {
key := fmt.Sprintf("text_url_%d", i)
key := fmt.Sprintf("text_url:%d", i)
val, has := dataMap[key]
if !has || val.Value == "" {
break
@@ -174,7 +174,7 @@ func MergeLambda(ctx context.Context, input any) (any, error) {
// 3. 提取所有图片image_0,1,2...
var images []string
for i := 0; ; i++ {
key := fmt.Sprintf("img_url%d", i)
key := fmt.Sprintf("img_url:%d", i)
val, has := dataMap[key]
if !has || val.Value == "" {
break

View File

@@ -20,6 +20,12 @@ import (
)
func getNodeInfo(flowInfo *entity.FlowExecution) (htmlUrl []string, textModelName string, textResultFrom map[string]any, textModelResponse map[string]any, imgModelName string, imgResultFrom map[string]any, imgModelResponse map[string]any) {
textModelName = ""
textResultFrom = make(map[string]any)
textModelResponse = make(map[string]any)
imgModelName = ""
imgResultFrom = make(map[string]any)
imgModelResponse = make(map[string]any)
// 查询节点中是否包含结果合并节点
for _, item := range flowInfo.NodeInputParams {
if item.NodeCode == node.NodeTypeMerge {