forked from XiaoMo/ChatGPT-Next-Web
fix: #2564 should not clear message when error
This commit is contained in:
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…
Reference in New Issue
Block a user