mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-18 08:28:10 +01:00
fix: jailbreakConversationId=false response will be saved jailbreakConversationId='false' in database.
This commit is contained in:
parent
27515cb00a
commit
7168498543
2 changed files with 6 additions and 2 deletions
|
|
@ -22,8 +22,10 @@ const askBing = async ({ text, progressCallback, convo }) => {
|
|||
options = { ...options, ...convo };
|
||||
}
|
||||
|
||||
const res = await bingAIClient.sendMessage(text, options
|
||||
);
|
||||
if (options?.jailbreakConversationId == 'false')
|
||||
options.jailbreakConversationId = false
|
||||
|
||||
const res = await bingAIClient.sendMessage(text, options);
|
||||
|
||||
return res;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue