mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-23 20:00:15 +01:00
client error handling, regen response without saving messages
This commit is contained in:
parent
87685c3791
commit
217bdb4865
11 changed files with 261 additions and 62 deletions
|
|
@ -13,7 +13,7 @@ export default function ClearConvos() {
|
|||
'post',
|
||||
() => {
|
||||
dispatch(setMessages([]));
|
||||
dispatch(setConversation({ conversationId: null, parentMessageId: null }));
|
||||
dispatch(setConversation({ error: false, conversationId: null, parentMessageId: null }));
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue