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

Fixes (#313)

Danny Avila8d75b25104f8
diff --git a/api/server/routes/endpoints.js b/api/server/routes/endpoints.js
index 175ae08cc5..d3ec9288d7 100644
--- a/api/server/routes/endpoints.js
+++ b/api/server/routes/endpoints.js
@@ -39,7 +39,6 @@ router.get('/', async function (req, res) {
key || palmUser ? { userProvide: palmUser, availableModels: ['chat-bison', 'text-bison'] } : false;
const azureOpenAI = !!process.env.AZURE_OPENAI_KEY;
const apiKey = process.env.OPENAI_KEY || process.env.AZURE_OPENAI_API_KEY;
- console.log('API KEY', apiKey);
const openAI =
apiKey
? { availableModels: getOpenAIModels(), userProvide: apiKey === 'user_provided' }
diff --git a/client/index.html b/client/index.html
index e77f5dc708..d81d0bf3d4 100644
--- a/client/index.html
+++ b/client/index.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="theme-color" content="#343541">
- <title>%VITE_APP_TITLE%</title>
+ <title>ChatGPT Clone</title>
<link
rel="shortcut icon"
href="#"
diff --git a/client/src/routes/Chat.jsx b/client/src/routes/Chat.jsx
index 3497799029..83c183fb6a 100644
--- a/client/src/routes/Chat.jsx
+++ b/client/src/routes/Chat.jsx
@@ -53,6 +53,7 @@ export default function Chat() {
// conversationId (in url) should always follow conversation?.conversationId, unless conversation is null
navigate(`/chat/${conversation?.conversationId}`);
}
+ document.title = conversation?.title || import.meta.env.VITE_APP_TITLE || 'Chat';
}, [conversation, conversationId]);
useEffect(() => {