mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-19 01:40:15 +01:00
feat: add jailbreak option for bingai
fix some bugs.
This commit is contained in:
parent
efb440128a
commit
9f1ded7f75
7 changed files with 67 additions and 111 deletions
|
|
@ -16,13 +16,13 @@ const buildDefaultConversation = ({ conversation, endpoint, lastConversationSetu
|
|||
...conversation,
|
||||
endpoint,
|
||||
jailbreak: lastConversationSetup?.jailbreak || false,
|
||||
systemMessage: lastConversationSetup?.systemMessage || null,
|
||||
context: lastConversationSetup?.context || null,
|
||||
systemMessage: lastConversationSetup?.systemMessage || null,
|
||||
toneStyle: lastConversationSetup?.toneStyle || 'fast',
|
||||
jailbreakConversationId: lastConversationSetup?.jailbreakConversationId || null,
|
||||
conversationSignature: null,
|
||||
clientId: null,
|
||||
invocationId: 1,
|
||||
toneStyle: lastConversationSetup?.toneStyle || 'fast'
|
||||
invocationId: 1
|
||||
};
|
||||
} else if (endpoint === 'chatGPTBrowser') {
|
||||
conversation = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue