From 5994034388cdaeb9de9f50c4443e0f098f9639c6 Mon Sep 17 00:00:00 2001 From: crocusia <132359536+crocusia@users.noreply.github.com> Date: Fri, 8 Aug 2025 18:58:25 +0900 Subject: [PATCH] =?UTF-8?q?chore=20:=20AI=20=ED=94=BC=EB=93=9C=EB=B0=B1=20?= =?UTF-8?q?=EC=9C=A0=ED=9A=A8=EC=84=B1=20=EA=B2=80=EC=A6=9D=20=EC=A3=BC?= =?UTF-8?q?=EC=84=9D=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/ai/service/AiFeedbackStreamProcessor.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cs25-service/src/main/java/com/example/cs25service/domain/ai/service/AiFeedbackStreamProcessor.java b/cs25-service/src/main/java/com/example/cs25service/domain/ai/service/AiFeedbackStreamProcessor.java index d46196bb..c159fb6d 100644 --- a/cs25-service/src/main/java/com/example/cs25service/domain/ai/service/AiFeedbackStreamProcessor.java +++ b/cs25-service/src/main/java/com/example/cs25service/domain/ai/service/AiFeedbackStreamProcessor.java @@ -4,8 +4,8 @@ import com.example.cs25entity.domain.user.repository.UserRepository; import com.example.cs25entity.domain.userQuizAnswer.repository.UserQuizAnswerRepository; import com.example.cs25service.domain.ai.client.AiChatClient; -import com.example.cs25service.domain.ai.exception.AiException; -import com.example.cs25service.domain.ai.exception.AiExceptionCode; +//import com.example.cs25service.domain.ai.exception.AiException; +//import com.example.cs25service.domain.ai.exception.AiExceptionCode; import com.example.cs25service.domain.ai.prompt.AiPromptProvider; import com.fasterxml.jackson.databind.JsonNode; import java.io.IOException; @@ -91,9 +91,9 @@ public void stream(Long answerId, SseEmitter emitter) { send(emitter, "[종료]"); String feedback = fullFeedbackBuffer.toString(); - if (feedback == null || feedback.isEmpty()) { - throw new AiException(AiExceptionCode.INTERNAL_SERVER_ERROR); - } +// if (feedback == null || feedback.isEmpty()) { +// throw new AiException(AiExceptionCode.INTERNAL_SERVER_ERROR); +// } boolean isCorrect = isCorrect(feedback);