fix: paser로 인해 인공지능의 띄어쓰기가 이상해지는 문제 해결 #5

Merged
juheelee merged 1 commits from feature/markdown into main 2026-07-31 14:48:01 +09:00
Showing only changes of commit b3908f771f - Show all commits

View File

@@ -247,7 +247,7 @@
buffer = buffer.substring(eventEnd + 2);
const dataLines = event.split('\n')
.filter(line => line.startsWith('data:'))
.map(line => line.substring(5).replace(/^ /, ''));
.map(line => line.substring(5));
if (dataLines.length > 0) onData(dataLines.join('\n'));
}