mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-20 02:31:08 +08:00
fix: #2564 should not clear message when error
This commit is contained in:
@@ -332,7 +332,7 @@ export const useChatStore = create<ChatStore>()(
|
|||||||
},
|
},
|
||||||
onError(error) {
|
onError(error) {
|
||||||
const isAborted = error.message.includes("aborted");
|
const isAborted = error.message.includes("aborted");
|
||||||
botMessage.content =
|
botMessage.content +=
|
||||||
"\n\n" +
|
"\n\n" +
|
||||||
prettyObject({
|
prettyObject({
|
||||||
error: true,
|
error: true,
|
||||||
|
Reference in New Issue
Block a user