delete \n
This commit is contained in:
parent
5290a6f6f1
commit
95814e1f2b
@ -304,7 +304,8 @@ public class ModelService {
|
||||
}
|
||||
}
|
||||
if (i!=1 && i!=2) {
|
||||
line = line.replaceAll("\n", " ");
|
||||
// line = line.replaceAll("\n", " ");
|
||||
|
||||
String content = parseStreamLine(line, uuid,groupId);
|
||||
if (content != null) {
|
||||
emitter.send(
|
||||
@ -357,7 +358,7 @@ public class ModelService {
|
||||
if (delta != null) {
|
||||
// 获取 content 的值
|
||||
String content = delta.getString("content");
|
||||
content = content.replaceAll("\n", " ");
|
||||
// content = content.replaceAll("\n", " ");
|
||||
ChatReqVO chatReqVO = new ChatReqVO();
|
||||
chatReqVO.setUuid("");
|
||||
chatReqVO.setGroupId("");
|
||||
|
Loading…
x
Reference in New Issue
Block a user