mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 17:00:15 +01:00
fix(BingAI): update convo handling with encryptedConversationSignature (#1063)
This commit is contained in:
parent
b23166d6be
commit
352e01f9d0
2 changed files with 2 additions and 2 deletions
|
|
@ -94,7 +94,7 @@ const askBing = async ({
|
||||||
// don't give those parameters for new conversation
|
// don't give those parameters for new conversation
|
||||||
// for new conversation, conversationSignature always is null
|
// for new conversation, conversationSignature always is null
|
||||||
if (conversationSignature) {
|
if (conversationSignature) {
|
||||||
options.conversationSignature = conversationSignature;
|
options.encryptedConversationSignature = conversationSignature;
|
||||||
options.clientId = clientId;
|
options.clientId = clientId;
|
||||||
options.invocationId = invocationId;
|
options.invocationId = invocationId;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -210,7 +210,7 @@ const ask = async ({
|
||||||
conversationUpdate.jailbreakConversationId = response.jailbreakConversationId;
|
conversationUpdate.jailbreakConversationId = response.jailbreakConversationId;
|
||||||
} else {
|
} else {
|
||||||
conversationUpdate.jailbreak = false;
|
conversationUpdate.jailbreak = false;
|
||||||
conversationUpdate.conversationSignature = response.conversationSignature;
|
conversationUpdate.conversationSignature = response.encryptedConversationSignature;
|
||||||
conversationUpdate.clientId = response.clientId;
|
conversationUpdate.clientId = response.clientId;
|
||||||
conversationUpdate.invocationId = response.invocationId;
|
conversationUpdate.invocationId = response.invocationId;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue