Commit 0bde0ac7 authored by yangyw's avatar yangyw

Merge branch 'refs/heads/feature/20241217_收尾' into sandbox

parents cfafd41d 1e31e0b2
...@@ -602,7 +602,7 @@ public class AppChatCompletionService { ...@@ -602,7 +602,7 @@ public class AppChatCompletionService {
if(CollectionUtil.isNotEmpty(procedures)) { if(CollectionUtil.isNotEmpty(procedures)) {
String content = procedures.getJSONObject(0).getJSONObject("debugging").getString("content"); String content = procedures.getJSONObject(0).getJSONObject("debugging").getString("content");
if(StrUtil.isNotEmpty(content)) { if(StrUtil.isNotEmpty(content)) {
thoughtContent[0] = "## 大模型正在思考中 ##\n"; thoughtContent[0] = "## 思考中 ##\n";
thoughtContent[0] += content; thoughtContent[0] += content;
} }
} }
...@@ -611,7 +611,7 @@ public class AppChatCompletionService { ...@@ -611,7 +611,7 @@ public class AppChatCompletionService {
if(Objects.nonNull(payload)) { if(Objects.nonNull(payload)) {
String content = payload.getString("content"); String content = payload.getString("content");
if(StrUtil.isNotEmpty(content)) { if(StrUtil.isNotEmpty(content)) {
replyContent[0] = "\n\n## 以下是大模型回复 ##\n"; replyContent[0] = "\n\n## 小伊回复 ##\n";
replyContent[0] += content; replyContent[0] += content;
replyFlag[0] = true; replyFlag[0] = true;
} }
......
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