Commit 00ac9369 authored by 赵灿灿's avatar 赵灿灿

修改配置信息

parent f334acf4
Pipeline #21082 passed with stages
in 4 minutes and 2 seconds
......@@ -361,8 +361,9 @@ public class LangChainController {
}else
{
String sendData=data.replace("attachment#[]#attachment","").replace("source#[]#source","")
.replace("<br />", "\n").replaceAll("#(?=\\S)", "");
.replace("<br />", "\n").replaceAll("#(?=\\S)", "").replace("#","");
emitter.send(SseEmitter.event().data(sendData), MediaType.parseMediaType("application/json; charset=UTF-8"));
if(!line.startsWith("SUGGEST["))
content.append(sendData);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment