mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 09:20:15 +01:00
persist bing ai conversation
This commit is contained in:
parent
81e52fed73
commit
7b7548c905
4 changed files with 28 additions and 8 deletions
|
|
@ -42,8 +42,17 @@ export default function TextChat({ messages }) {
|
|||
const { title, conversationId, id } = data;
|
||||
console.log('parentMessageId is null');
|
||||
console.log('title, convoId, id', title, conversationId, id);
|
||||
dispatch(setConversation({ title, conversationId, parentMessageId: id }));
|
||||
} else if (convo.conversationSignature === null) {
|
||||
dispatch(
|
||||
setConversation({
|
||||
title,
|
||||
conversationId,
|
||||
parentMessageId: id,
|
||||
conversationSignature: null,
|
||||
clientId: null,
|
||||
invocationId: null
|
||||
})
|
||||
);
|
||||
} else if (convo.invocationId === null) {
|
||||
const { title, conversationSignature, clientId, conversationId, invocationId } = data;
|
||||
console.log('convoSig is null');
|
||||
console.log(
|
||||
|
|
@ -60,7 +69,8 @@ export default function TextChat({ messages }) {
|
|||
conversationSignature,
|
||||
clientId,
|
||||
conversationId,
|
||||
invocationId
|
||||
invocationId,
|
||||
parentMessageId: null
|
||||
})
|
||||
);
|
||||
}
|
||||
|
|
@ -160,4 +170,4 @@ export default function TextChat({ messages }) {
|
|||
<Footer />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue