Add files via upload

This commit is contained in:
公明
2026-07-11 12:10:57 +08:00
committed by GitHub
parent 6529c13ffb
commit 987bd0a03c
5 changed files with 113 additions and 25 deletions
+2 -3
View File
@@ -156,9 +156,8 @@ func (h *AgentHandler) MultiAgentLoopStream(c *gin.Context) {
"conversationId": conversationID,
})
stopKeepalive := make(chan struct{})
go sseKeepalive(c, stopKeepalive, &sseWriteMu)
defer close(stopKeepalive)
stopKeepalive := runSSEKeepalive(c, &sseWriteMu)
defer stopKeepalive()
var result *multiagent.RunResult
var runErr error