fix(singleagent): chatflow input concat (#1863)

This commit is contained in:
junwen-lee
2025-08-28 22:11:44 +08:00
committed by GitHub
parent d70101c979
commit 042f2299f0

View File

@@ -21,6 +21,7 @@ import (
"errors"
"io"
"strconv"
"strings"
"sync"
"github.com/cloudwego/eino/schema"
@@ -106,7 +107,7 @@ func concatWfInput(rtDependence *AgentRuntime) string {
}
}
}
return input
return strings.Trim(input, ",")
}
func (art *AgentRuntime) pullWfStream(ctx context.Context, events *schema.StreamReader[*crossworkflow.WorkflowMessage], mh *MesssageEventHanlder) {