the function to save user chat history is ready

This commit is contained in:
RockYang
2023-04-19 17:32:41 +08:00
parent 14a351b477
commit a13c1bc669
9 changed files with 190 additions and 68 deletions

View File

@@ -329,8 +329,7 @@ export default defineComponent({
type: "reply",
id: randString(32),
icon: this.replyIcon,
content: "",
cursor: true
content: ""
});
if (data['is_hello_msg'] !== true) {
this.canReGenerate = true;
@@ -370,7 +369,7 @@ export default defineComponent({
if (this.activelyClose) { // 忽略主动关闭
return;
}
// 停止送消息
this.sending = true;
this.checkSession();