Commit 05dffce8 authored by 赵灿灿's avatar 赵灿灿

修改配置

parent 00ac9369
Pipeline #21090 passed with stages
in 3 minutes and 7 seconds
...@@ -361,9 +361,9 @@ public class LangChainController { ...@@ -361,9 +361,9 @@ public class LangChainController {
}else }else
{ {
String sendData=data.replace("attachment#[]#attachment","").replace("source#[]#source","") String sendData=data.replace("attachment#[]#attachment","").replace("source#[]#source","")
.replace("<br />", "\n").replaceAll("#(?=\\S)", "").replace("#",""); .replace("<br />", "\n").replace("#","");
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"));
if(!line.startsWith("SUGGEST[")) if(!sendData.startsWith("SUGGEST["))
content.append(sendData); content.append(sendData);
} }
} }
......
...@@ -105,8 +105,8 @@ ...@@ -105,8 +105,8 @@
<button type="button" class="post_btn" @click="formatTimestampThree()"> <button type="button" class="post_btn" @click="formatTimestampThree()">
发送4 发送4
</button> </button>
<div id="events"></div> <div id="events"></div>
<a href="http://10.33.247.45:32256/lcdp-app/#/zhuanjiadiaodugongdan0031inner?appId=1161470417668227072&name=1283&name=1283" target="_blank" title="新闻网站" style="color: red">新闻</a>
</div> </div>
</div> </div>
</div> </div>
......
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