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

adding redux to reduce prop drilling and allow for advanced conversation state

Daniel Avila85efaa4173e8
diff --git a/store/convoSlice.js b/store/convoSlice.js
index e45178fa10..237d6dc460 100644
--- a/store/convoSlice.js
+++ b/store/convoSlice.js
@@ -16,6 +16,7 @@ const currentSlice = createSlice({
},
}
});
+//
export const { setConversation } = currentSlice.actions;
diff --git a/store/index.js b/store/index.js
index 66bf37b2e5..b85bd12407 100644
--- a/store/index.js
+++ b/store/index.js
@@ -1,7 +1,7 @@
import { configureStore } from '@reduxjs/toolkit';
import convoReducer from './convoSlice.js';
-// import uploadReducer from './uploadSlice.js';
+// import uploadReducer from './uploadSlice.js'
export const store = configureStore({
reducer: {