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: missing import

Wentao Lyufea3afa740f1
diff --git a/client/src/utils/handleSubmit.js b/client/src/utils/handleSubmit.js
index bdfa46713a..b5803aef17 100644
--- a/client/src/utils/handleSubmit.js
+++ b/client/src/utils/handleSubmit.js
@@ -5,6 +5,7 @@ import { setNewConvo } from '~/store/convoSlice';
import { setMessages } from '~/store/messageSlice';
import { setSubmitState, setSubmission } from '~/store/submitSlice';
import { setText } from '~/store/textSlice';
+import { setError } from '~/store/convoSlice';
const useMessageHandler = () => {
const dispatch = useDispatch();
diff --git a/client/src/utils/index.js b/client/src/utils/index.js
index a831189730..6aed888892 100644
--- a/client/src/utils/index.js
+++ b/client/src/utils/index.js
@@ -56,8 +56,6 @@ export const getIconOfModel = ({ size=30, sender, isCreatedByUser, model, chatGp
chatgptCustom: `rgb(0, 163, 255${ button ? ', 0.75' : ''})`,
};
- // console.log(sender, isCreatedByUser, model, chatGptLabel, error, )
-
if (isCreatedByUser)
return (
<div