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: convo resets, sets new Convo
Daniel Avila4e9143704979
diff --git a/client/src/components/Main/TextChat.jsx b/client/src/components/Main/TextChat.jsxindex c4fd6a8f23..3671833ef0 100644--- a/client/src/components/Main/TextChat.jsx+++ b/client/src/components/Main/TextChat.jsx@@ -8,7 +8,7 @@ import TextareaAutosize from 'react-textarea-autosize';import createPayload from '~/utils/createPayload';import resetConvo from '~/utils/resetConvo';import { useSelector, useDispatch } from 'react-redux';-import { setConversation, setError, refreshConversation } from '~/store/convoSlice';+import { setConversation, setNewConvo, setError, refreshConversation } from '~/store/convoSlice';import { setMessages } from '~/store/messageSlice';import { setSubmitState, setSubmission } from '~/store/submitSlice';import { setText } from '~/store/textSlice';@@ -159,6 +159,7 @@ export default function TextChat({ messages }) {let parentMessageId = convo.parentMessageId || '00000000-0000-0000-0000-000000000000';if (resetConvo(messages, sender)) {parentMessageId = '00000000-0000-0000-0000-000000000000';+ dispatch(setNewConvo());}const currentMsg = { sender: 'User', text: message, current: true, isCreatedByUser: true, parentMessageId , messageId: fakeMessageId };const initialResponse = { sender, text: '', parentMessageId: fakeMessageId, submitting: true };