mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 01:10:14 +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
|
|
@ -64,6 +64,8 @@ module.exports = {
|
|||
if (title) {
|
||||
update.title = title;
|
||||
}
|
||||
if (!update.jailbreakConversationId)
|
||||
update.jailbreakConversationId = null
|
||||
|
||||
return await Conversation.findOneAndUpdate(
|
||||
{ conversationId },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue