fix: 修复 WebChat 下,Agent 长时任务时,SSE 连接自动断开的问题

This commit is contained in:
Soulter
2025-09-12 13:04:27 +08:00
parent d597fd056d
commit 888fb84aee

View File

@@ -197,6 +197,7 @@ class ChatRoute(Route):
"Connection": "keep-alive",
},
)
response.timeout = None # fix SSE auto disconnect issue
return response
async def _get_webchat_conv_id_from_conv_id(self, conversation_id: str) -> str: