Skip to content

Commit 352e01f

Browse files
authored
fix(BingAI): update convo handling with encryptedConversationSignature (#1063)
1 parent b23166d commit 352e01f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/app/bingai.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const askBing = async ({
9494
// don't give those parameters for new conversation
9595
// for new conversation, conversationSignature always is null
9696
if (conversationSignature) {
97-
options.conversationSignature = conversationSignature;
97+
options.encryptedConversationSignature = conversationSignature;
9898
options.clientId = clientId;
9999
options.invocationId = invocationId;
100100
}

api/server/routes/ask/bingAI.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ const ask = async ({
210210
conversationUpdate.jailbreakConversationId = response.jailbreakConversationId;
211211
} else {
212212
conversationUpdate.jailbreak = false;
213-
conversationUpdate.conversationSignature = response.conversationSignature;
213+
conversationUpdate.conversationSignature = response.encryptedConversationSignature;
214214
conversationUpdate.clientId = response.clientId;
215215
conversationUpdate.invocationId = response.invocationId;
216216
}

0 commit comments

Comments
 (0)