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: change endpoint should not skip when endpoint same

Wentao Lyu2cce2e30bae9
diff --git a/client/src/components/Input/Endpoints/NewConversationMenu.jsx b/client/src/components/Input/Endpoints/NewConversationMenu.jsx
index 6ff3ca9d04..2ff5adbb1b 100644
--- a/client/src/components/Input/Endpoints/NewConversationMenu.jsx
+++ b/client/src/components/Input/Endpoints/NewConversationMenu.jsx
@@ -52,7 +52,7 @@ export default function NewConversationMenu() {
setMenuOpen(false);
if (!newEndpoint) return;
- else if (newEndpoint === endpoint) return;
+ // else if (newEndpoint === endpoint) return;
else {
newConversation({}, { endpoint: newEndpoint });
}