Add files via upload

This commit is contained in:
公明
2026-05-29 10:56:18 +08:00
committed by GitHub
parent 2b38595b42
commit 8b0b91fddc
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ import (
// MultiAgentLoopStream Eino DeepAgent 流式对话(需 config.multi_agent.enabled)。
func (h *AgentHandler) MultiAgentLoopStream(c *gin.Context) {
c.Header("Content-Type", "text/event-stream")
c.Header("Content-Type", "text/event-stream; charset=utf-8")
c.Header("Cache-Control", "no-cache")
c.Header("Connection", "keep-alive")
if h.config == nil || !h.config.MultiAgent.Enabled {