mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 08:50:15 +01:00
fix: suggestions seems not used. what's this?
This commit is contained in:
parent
96639b82a8
commit
03f1a439d6
2 changed files with 2 additions and 4 deletions
|
|
@ -19,8 +19,7 @@ const buildDefaultConversation = ({ conversation, endpoint, lastConversationSetu
|
||||||
conversationSignature: null,
|
conversationSignature: null,
|
||||||
clientId: null,
|
clientId: null,
|
||||||
invocationId: 1,
|
invocationId: 1,
|
||||||
toneStyle: lastConversationSetup?.toneStyle || 'fast',
|
toneStyle: lastConversationSetup?.toneStyle || 'fast'
|
||||||
suggestions: []
|
|
||||||
};
|
};
|
||||||
} else if (endpoint === 'chatGPTBrowser') {
|
} else if (endpoint === 'chatGPTBrowser') {
|
||||||
conversation = {
|
conversation = {
|
||||||
|
|
|
||||||
|
|
@ -43,8 +43,7 @@ const useMessageHandler = () => {
|
||||||
conversationSignature: currentConversation?.conversationSignature || null,
|
conversationSignature: currentConversation?.conversationSignature || null,
|
||||||
clientId: currentConversation?.clientId || null,
|
clientId: currentConversation?.clientId || null,
|
||||||
invocationId: currentConversation?.invocationId || 1,
|
invocationId: currentConversation?.invocationId || 1,
|
||||||
toneStyle: currentConversation?.toneStyle || 'fast',
|
toneStyle: currentConversation?.toneStyle || 'fast'
|
||||||
suggestions: currentConversation?.suggestions || []
|
|
||||||
};
|
};
|
||||||
responseSender = endpointOption.jailbreak ? 'Sydney' : 'BingAI';
|
responseSender = endpointOption.jailbreak ? 'Sydney' : 'BingAI';
|
||||||
} else if (endpoint === 'chatGPTBrowser') {
|
} else if (endpoint === 'chatGPTBrowser') {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue