mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 17:00:15 +01:00
working sydney, need to test the other models
This commit is contained in:
parent
2c1ae68dc4
commit
67054e7504
6 changed files with 75 additions and 26 deletions
|
|
@ -68,11 +68,30 @@ export default function TextChat({ messages }) {
|
|||
})
|
||||
);
|
||||
} else if (
|
||||
isBing &&
|
||||
model === 'bingai' &&
|
||||
convo.conversationId === null &&
|
||||
convo.invocationId === null
|
||||
) {
|
||||
console.log('Bing data:', data)
|
||||
const {
|
||||
title,
|
||||
conversationSignature,
|
||||
clientId,
|
||||
conversationId,
|
||||
invocationId
|
||||
} = data;
|
||||
dispatch(
|
||||
setConversation({
|
||||
title,
|
||||
parentMessageId: null,
|
||||
conversationSignature,
|
||||
clientId,
|
||||
conversationId,
|
||||
invocationId,
|
||||
})
|
||||
);
|
||||
} else if (model === 'sydney') {
|
||||
console.log('Sydney data:', data)
|
||||
const {
|
||||
title,
|
||||
jailbreakConversationId,
|
||||
|
|
@ -86,7 +105,7 @@ export default function TextChat({ messages }) {
|
|||
setConversation({
|
||||
title,
|
||||
jailbreakConversationId,
|
||||
parentMessageId: parentMessageId || null,
|
||||
parentMessageId,
|
||||
conversationSignature,
|
||||
clientId,
|
||||
conversationId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue