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
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
Fix (PaLM2): Persist PaLM presets after initial message (#366)
Danny Avila07fa0f39fdb8
diff --git a/api/server/routes/ask/askGoogle.js b/api/server/routes/ask/askGoogle.jsindex 60eadc5837..f5c985d306 100644--- a/api/server/routes/ask/askGoogle.js+++ b/api/server/routes/ask/askGoogle.js@@ -119,6 +119,13 @@ const ask = async ({ text, endpointOption, parentMessageId = null, conversationIabortController});+ await saveConvo(req.user.id, {+ ...endpointOption,+ ...endpointOption.modelOptions,+ conversationId,+ endpoint: 'google'+ });+await saveMessage(response);sendMessage(res, {title: await getConvoTitle(req.user.id, conversationId),@@ -132,7 +139,7 @@ const ask = async ({ text, endpointOption, parentMessageId = null, conversationIif (parentMessageId == '00000000-0000-0000-0000-000000000000') {const title = await titleConvo({ text, response });await saveConvo(req.user.id, {- conversationId: conversationId,+ conversationId,title});}diff --git a/client/src/utils/handleSubmit.js b/client/src/utils/handleSubmit.jsindex 922c0e0c2b..c075a8be8d 100644--- a/client/src/utils/handleSubmit.js+++ b/client/src/utils/handleSubmit.js@@ -50,7 +50,7 @@ const useMessageHandler = () => {currentConversation?.model ??endpointsConfig[endpoint]?.availableModels?.[0] ??'chat-bison',- chatGptLabel: currentConversation?.chatGptLabel ?? null,+ modelLabel: currentConversation?.modelLabel ?? null,promptPrefix: currentConversation?.promptPrefix ?? null,examples: currentConversation?.examples ?? [{ input: { content: '' }, output: { content: '' } }