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: new message should append to the exist one

Wentao Lyube71140dd494
diff --git a/client/src/components/Main/TextChat.jsx b/client/src/components/Main/TextChat.jsx
index e73becc743..bd127a34d2 100644
--- a/client/src/components/Main/TextChat.jsx
+++ b/client/src/components/Main/TextChat.jsx
@@ -137,6 +137,7 @@ export default function TextChat({ messages }) {
dispatch(setText(''));
const submission = {
+ convo,
isCustomModel,
message: {
sender: 'User',
@@ -202,6 +203,7 @@ export default function TextChat({ messages }) {
const data = JSON.parse(e.data);
let text = data.text || data.response;
+ console.log(data)
if (data.message) {
messageHandler(text, currentState);
}