Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

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

Wentao Lyu03f1a439d653
diff --git a/client/src/utils/getDefaultConversation.js b/client/src/utils/getDefaultConversation.js
index c4a96b399e..a95a8f1486 100644
--- a/client/src/utils/getDefaultConversation.js
+++ b/client/src/utils/getDefaultConversation.js
@@ -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 = {
diff --git a/client/src/utils/handleSubmit.js b/client/src/utils/handleSubmit.js
index 32c209694a..c545ed9ccd 100644
--- a/client/src/utils/handleSubmit.js
+++ b/client/src/utils/handleSubmit.js
@@ -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') {