fix: Deep Agent Builder JSON 파싱 에러 방지를 위해 커스텀 SSE 엔드포인트 이벤트 제거

This commit is contained in:
jade
2026-07-20 09:53:44 +09:00
parent d6801b7ba0
commit bd85ca9f88

View File

@@ -137,10 +137,6 @@ public class CustomWebMvcSseServerTransportProvider implements McpServerTranspor
new Thread(() -> { new Thread(() -> {
try { try {
// 커스텀 클라이언트는 endpoint 이벤트를 무시할 수 있지만 표준 호환성을 위해 전송
Thread.sleep(100);
emitter.send(org.springframework.web.servlet.mvc.method.annotation.SseEmitter.event().name("endpoint").data(messageEndpoint + "?sessionId=" + sessionId));
// Body로 들어온 메시지 즉시 비동기 처리 // Body로 들어온 메시지 즉시 비동기 처리
if (body != null && !body.trim().isEmpty()) { if (body != null && !body.trim().isEmpty()) {
handleMessage(sessionId, body); handleMessage(sessionId, body);