Commit 1e31e0b2 authored by yangyw's avatar yangyw

feature: 修改提示

parent 5a88e27e
...@@ -594,7 +594,7 @@ public class AppChatCompletionService { ...@@ -594,7 +594,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;
} }
} }
...@@ -603,7 +603,7 @@ public class AppChatCompletionService { ...@@ -603,7 +603,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