mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-23 03:40:14 +01:00
feat: sydney is functional
This commit is contained in:
parent
0f54251459
commit
69b3edc52c
15 changed files with 157 additions and 22 deletions
|
|
@ -34,11 +34,12 @@ export default function Conversation({
|
|||
const convo = { title, error: false, conversationId: id, chatGptLabel, promptPrefix };
|
||||
|
||||
if (bingData) {
|
||||
const { conversationSignature, clientId, invocationId } = bingData;
|
||||
const { conversationSignature, jailbreakConversationId, clientId, invocationId } = bingData;
|
||||
dispatch(
|
||||
setConversation({
|
||||
...convo,
|
||||
parentMessageId: null,
|
||||
jailbreakConversationId,
|
||||
conversationSignature,
|
||||
clientId,
|
||||
invocationId
|
||||
|
|
@ -49,6 +50,7 @@ export default function Conversation({
|
|||
setConversation({
|
||||
...convo,
|
||||
parentMessageId,
|
||||
jailbreakConversationId: null,
|
||||
conversationSignature: null,
|
||||
clientId: null,
|
||||
invocationId: null
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ export default function Conversations({ conversations, conversationId, showMore
|
|||
conversations.map((convo) => {
|
||||
const bingData = convo.conversationSignature
|
||||
? {
|
||||
jailbreakConversationId: convo.jailbreakConversationId,
|
||||
conversationSignature: convo.conversationSignature,
|
||||
clientId: convo.clientId,
|
||||
invocationId: convo.invocationId
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@ export default function TextChat({ messages }) {
|
|||
title,
|
||||
conversationId,
|
||||
parentMessageId: id,
|
||||
jailbreakConversationId: null,
|
||||
conversationSignature: null,
|
||||
clientId: null,
|
||||
invocationId: null,
|
||||
|
|
@ -69,10 +70,18 @@ export default function TextChat({ messages }) {
|
|||
convo.conversationId === null &&
|
||||
convo.invocationId === null
|
||||
) {
|
||||
const { title, conversationSignature, clientId, conversationId, invocationId } = data;
|
||||
const {
|
||||
title,
|
||||
jailbreakConversationId,
|
||||
conversationSignature,
|
||||
clientId,
|
||||
conversationId,
|
||||
invocationId
|
||||
} = data;
|
||||
dispatch(
|
||||
setConversation({
|
||||
title,
|
||||
jailbreakConversationId,
|
||||
conversationSignature,
|
||||
clientId,
|
||||
conversationId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue