fix: #2564 should not clear message when error

main
Yidadaa 2 years ago
parent 769c2f9f49
commit 4ab9141429

@ -332,7 +332,7 @@ export const useChatStore = create<ChatStore>()(
},
onError(error) {
const isAborted = error.message.includes("aborted");
botMessage.content =
botMessage.content +=
"\n\n" +
prettyObject({
error: true,

Loading…
Cancel
Save