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