Skip to content

Commit

Permalink
remove cn
Browse files Browse the repository at this point in the history
  • Loading branch information
lhpqaq committed Dec 3, 2024
1 parent af4e15d commit 8e1018d
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ public SseEmitter talk(Long threadId, String message) {
}
},
throwable -> {
// 流处理过程中发生错误,返回错误信息
try {
TalkVO errorVO = new TalkVO();
errorVO.setContent(null);
Expand All @@ -229,7 +228,6 @@ public SseEmitter talk(Long threadId, String message) {
emitter.completeWithError(throwable);
},
() -> {
// 流完成时发送最终完成标志
try {
TalkVO finishVO = new TalkVO();
finishVO.setContent(null);
Expand Down

0 comments on commit 8e1018d

Please sign in to comment.