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
feat: cites text with links
Daniel Avilad0ecaabfd836
diff --git a/README.md b/README.mdindex c32fc798f4..c0e1ee4afa 100644--- a/README.md+++ b/README.md@@ -8,14 +8,23 @@ https://user-images.githubusercontent.com/110412045/223754183-8b7f45ce-6517-4bd5## Updates<details open>+<summary><strong>2023-03-09</strong></summary>+Released v.0.0.2++Adds Sydney (jailbroken Bing AI) to the model menu. Thank you [DavesDevFails](https://github.com/DavesDevFails) for bringing it to my attention in this [issue](https://github.com/danny-avila/chatgpt-clone/issues/13). Bing/Sydney now correctly cite links, more styling to come. Fix some overlooked bugs, and model menu doesn't close upon deleting a customGpt.+++I've re-enabled the ChatGPT browser client (free version) since it might be working for most people, it no longer works for me. Sydney is the best free route anyway.+</details>++<details>+<details><summary><strong>2023-03-07</strong></summary>Due to increased interest in the repo, I've dockerized the app as of this update for quick setup! See setup instructions below. I realize this still takes some time with installing docker dependencies, so it's on the roadmap to have a deployed demo. Besides this, I've made major improvements for a lot of the existing features across the board, mainly UI/UX.Also worth noting, the method to access the Free Version is no longer working, so I've removed it from model selection until further notice.</details>--<details><summary><strong>Previous Updates</strong></summary><details>diff --git a/api/server/routes/askBing.js b/api/server/routes/askBing.jsindex 36218320b6..42718b9d91 100644--- a/api/server/routes/askBing.js+++ b/api/server/routes/askBing.js@@ -42,7 +42,7 @@ router.post('/', async (req, res) => {console.log('BING RESPONSE');// console.dir(response, { depth: null });- const hasCitations = citationRegex.test(response.response);+ const hasCitations = response.response.match(citationRegex)?.length > 0;userMessage.conversationSignature =convo.conversationSignature || response.conversationSignature;diff --git a/api/server/routes/askSydney.js b/api/server/routes/askSydney.jsindex b328f879fa..149b8b1c45 100644--- a/api/server/routes/askSydney.js+++ b/api/server/routes/askSydney.js@@ -43,7 +43,7 @@ router.post('/', async (req, res) => {console.log('SYDNEY RESPONSE');console.log(response.response);// console.dir(response, { depth: null });- const hasCitations = citationRegex.test(response.response);+ const hasCitations = response.response.match(citationRegex)?.length > 0;// Save sydney responseresponse.id = response.messageId;diff --git a/client/src/components/Conversations/DeleteButton.jsx b/client/src/components/Conversations/DeleteButton.jsxindex 423a8a2c21..03c9f47f81 100644--- a/client/src/components/Conversations/DeleteButton.jsx+++ b/client/src/components/Conversations/DeleteButton.jsx@@ -14,7 +14,6 @@ export default function DeleteButton({ conversationId, renaming, cancelHandler }() => {dispatch(setMessages([]));dispatch(removeConvo(conversationId));- // dispatch(setConversation({ title: 'New chat', conversationId: null, parentMessageId: null }));dispatch(setNewConvo());});diff --git a/client/src/components/Nav/NewChat.jsx b/client/src/components/Nav/NewChat.jsxindex 70e56c4427..540c023647 100644--- a/client/src/components/Nav/NewChat.jsx+++ b/client/src/components/Nav/NewChat.jsx@@ -11,7 +11,6 @@ export default function NewChat() {dispatch(setText(''));dispatch(setMessages([]));dispatch(setNewConvo());- // dispatch(setConversation({ title: 'New Chat', error: false, conversationId: null, parentMessageId: null }));};return (