Commit 94111bc4 authored by 赵灿灿's avatar 赵灿灿

修改配置信息

parent 372bc8d3
Pipeline #21077 passed with stages
in 3 minutes and 12 seconds
......@@ -360,9 +360,8 @@ public class LangChainController {
emitter.send(SseEmitter.event().data("stop"),MediaType.parseMediaType("application/json; charset=UTF-8"));
}else
{
String sendData=data.replace("attachment# []# attachmentsource# []# source","").replace("<br />", "\n").replaceAll("###(?=\\S)", "### ").replaceAll("##(?=\\S)", "## ")
.replaceAll("#(?=\\S)", "# ").replaceAll("####(?=\\S)", "#### ").
replaceAll("#####(?=\\S)", "##### ").replaceAll("######(?=\\S)", "###### ");
String sendData=data.replace("attachment#[]#attachment","").replace("source#[]#source","")
.replace("<br />", "\n").replaceAll("#(?=\\S)", "");
emitter.send(SseEmitter.event().data(sendData), MediaType.parseMediaType("application/json; charset=UTF-8"));
content.append(sendData);
}
......
......@@ -39,6 +39,9 @@ spring:
# 项目名
name: dispatch-assistant
management:
server:
port: -1
server:
servlet:
......
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