mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 08:50:15 +01:00
fix: jailbreak should be boolean
This commit is contained in:
parent
a8e44d0028
commit
8b86fd0901
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ const MessageHeader = ({ isSearchView = false }) => {
|
||||||
options.push(['top_p', conversation?.top_p]);
|
options.push(['top_p', conversation?.top_p]);
|
||||||
options.push(['presence_penalty', conversation?.presence_penalty]);
|
options.push(['presence_penalty', conversation?.presence_penalty]);
|
||||||
} else if (endpoint === 'bingAI') {
|
} else if (endpoint === 'bingAI') {
|
||||||
options.push(['jailbreak', conversation?.jailbreak]);
|
options.push(['jailbreak', !!conversation?.jailbreak]);
|
||||||
options.push(['toneStyle', conversation?.toneStyle]);
|
options.push(['toneStyle', conversation?.toneStyle]);
|
||||||
} else if (endpoint === 'chatGPTBrowser') {
|
} else if (endpoint === 'chatGPTBrowser') {
|
||||||
options.push(['model', conversation?.model]);
|
options.push(['model', conversation?.model]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue