fix: request errors

This commit is contained in:
Yidadaa
2023-03-14 00:34:52 +08:00
parent 8ec927844c
commit 8e4fc83d3b
2 changed files with 3 additions and 3 deletions

View File

@@ -229,7 +229,7 @@ export const useChatStore = create<ChatStore>()(
}
},
onError(error) {
botMessage.content = "出错了,稍后重试吧";
botMessage.content += "\n\n出错了,稍后重试吧";
botMessage.streaming = false;
set(() => ({}));
},