diff --git a/bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/service/impl/ChatbotServiceImpl.java b/bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/service/impl/ChatbotServiceImpl.java index 644565d6a..777ab2001 100644 --- a/bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/service/impl/ChatbotServiceImpl.java +++ b/bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/service/impl/ChatbotServiceImpl.java @@ -217,7 +217,6 @@ public SseEmitter talk(Long threadId, String message) { } }, throwable -> { - // 流处理过程中发生错误,返回错误信息 try { TalkVO errorVO = new TalkVO(); errorVO.setContent(null); @@ -229,7 +228,6 @@ public SseEmitter talk(Long threadId, String message) { emitter.completeWithError(throwable); }, () -> { - // 流完成时发送最终完成标志 try { TalkVO finishVO = new TalkVO(); finishVO.setContent(null);