fix: suggestions seems not used. what's this?

This commit is contained in:
Wentao Lyu 2023-03-31 04:39:11 +08:00
parent 96639b82a8
commit 03f1a439d6
2 changed files with 2 additions and 4 deletions

View file

@ -19,8 +19,7 @@ const buildDefaultConversation = ({ conversation, endpoint, lastConversationSetu
conversationSignature: null,
clientId: null,
invocationId: 1,
toneStyle: lastConversationSetup?.toneStyle || 'fast',
suggestions: []
toneStyle: lastConversationSetup?.toneStyle || 'fast'
};
} else if (endpoint === 'chatGPTBrowser') {
conversation = {

View file

@ -43,8 +43,7 @@ const useMessageHandler = () => {
conversationSignature: currentConversation?.conversationSignature || null,
clientId: currentConversation?.clientId || null,
invocationId: currentConversation?.invocationId || 1,
toneStyle: currentConversation?.toneStyle || 'fast',
suggestions: currentConversation?.suggestions || []
toneStyle: currentConversation?.toneStyle || 'fast'
};
responseSender = endpointOption.jailbreak ? 'Sydney' : 'BingAI';
} else if (endpoint === 'chatGPTBrowser') {