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

chore: fix broken browser client

Daniel Avila0af8f6a69958
diff --git a/api/app/clients/chatgpt-browser.js b/api/app/clients/chatgpt-browser.js
index 792f108e7d..459ac0e2e0 100644
--- a/api/app/clients/chatgpt-browser.js
+++ b/api/app/clients/chatgpt-browser.js
@@ -24,6 +24,10 @@ const browserClient = async ({ text, onProgress, convo, abortController }) => {
options = { ...options, ...convo };
}
+ if (convo.parentMessageId.startsWith('0000')) {
+ delete options.conversationId;
+ }
+
const res = await client.sendMessage(text, options);
return res;
};