mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 09:20:15 +01:00
fix bing chat not persisting after 1st invocation
This commit is contained in:
parent
fd01fd3334
commit
61d898c387
3 changed files with 4 additions and 15 deletions
|
|
@ -40,8 +40,6 @@ export default function TextChat({ messages }) {
|
|||
console.log('in convo handler');
|
||||
if (model !== 'bingai' && convo.conversationId === null && convo.parentMessageId === null) {
|
||||
const { title, conversationId, id } = data;
|
||||
console.log('parentMessageId is null');
|
||||
console.log('title, convoId, id', title, conversationId, id);
|
||||
dispatch(
|
||||
setConversation({
|
||||
title,
|
||||
|
|
@ -52,17 +50,8 @@ export default function TextChat({ messages }) {
|
|||
invocationId: null
|
||||
})
|
||||
);
|
||||
} else if (model === 'bingai' && convo.invocationId === null) {
|
||||
} else if (model === 'bingai' && convo.conversationId === null && convo.invocationId === null) {
|
||||
const { title, conversationSignature, clientId, conversationId, invocationId } = data;
|
||||
console.log('convoSig is null');
|
||||
console.log(
|
||||
'bing res data',
|
||||
title,
|
||||
conversationSignature,
|
||||
clientId,
|
||||
conversationId,
|
||||
invocationId
|
||||
);
|
||||
dispatch(
|
||||
setConversation({
|
||||
title,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue