Commit 8c4a3e90 authored by alex yao's avatar alex yao

feat: SSE客户端断开感知

parent b0e49801
...@@ -192,9 +192,11 @@ public class AgentApplicationServiceImpl implements AgentApplicationService { ...@@ -192,9 +192,11 @@ public class AgentApplicationServiceImpl implements AgentApplicationService {
knowledgeSuperclassProblemConfig, httpServletResponse); knowledgeSuperclassProblemConfig, httpServletResponse);
//保存对话记录 //保存对话记录
if (StringUtils.isNotBlank(agentResultEntity.getMessage())) {
outputRecord.setContent(agentResultEntity.getMessage()); outputRecord.setContent(agentResultEntity.getMessage());
outputRecord.setReasoningContent(agentResultEntity.getReasoningContent()); outputRecord.setReasoningContent(agentResultEntity.getReasoningContent());
bizAgentApplicationDialoguesRecordService.save(outputRecord); bizAgentApplicationDialoguesRecordService.save(outputRecord);
}
//数据采集 //数据采集
if (StringUtils.isBlank(channel)) { if (StringUtils.isBlank(channel)) {
channel = DataAnalyzeChannelEnum.link_share.getChannel(); channel = DataAnalyzeChannelEnum.link_share.getChannel();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment