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

Merge branch 'main' into feat-endpoint-style-structure

Daniel Avila8fa20d935640
diff --cc client/src/components/Conversations/Conversation.jsx
index f3327861da,7db57378c6..3fc07dea3e
--- a/client/src/components/Conversations/Conversation.jsx
+++ b/client/src/components/Conversations/Conversation.jsx
@@@ -16,13 -18,37 +16,14 @@@ export default function Conversation({
const { switchToConversation } = store.useConversation();
const [renaming, setRenaming] = useState(false);
- const [titleInput, setTitleInput] = useState(title);
const inputRef = useRef(null);
- const {
- model,
- parentMessageId,
- conversationId,
- title,
- chatGptLabel = null,
- promptPrefix = null,
- jailbreakConversationId,
- conversationSignature,
- clientId,
- invocationId,
- toneStyle
- } = conversation;
+ const { conversationId, title } = conversation;
+ const [titleInput, setTitleInput] = useState(title);
+
const rename = manualSWR(`/api/convos/update`, 'post');
- const bingData = conversationSignature
- ? {
- jailbreakConversationId: jailbreakConversationId,
- conversationSignature: conversationSignature,
- parentMessageId: parentMessageId || null,
- clientId: clientId,
- invocationId: invocationId,
- toneStyle: toneStyle
- }
- : null;
-
const clickHandler = async () => {
if (currentConversation?.conversationId === conversationId) {
return;
diff --cc client/src/components/MessageHandler/index.jsx
index 32e38fdb5c,5f13729af2..a443e7aa84
--- a/client/src/components/MessageHandler/index.jsx
+++ b/client/src/components/MessageHandler/index.jsx
@@@ -1,6 -1,7 +1,6 @@@
-import React, { useEffect, useRef, useState } from 'react';
-import { useRecoilState, useResetRecoilState, useSetRecoilState } from 'recoil';
+import { useEffect } from 'react';
+import { useRecoilValue, useResetRecoilState, useSetRecoilState } from 'recoil';
- import { SSE } from '~/utils/sse';
+ import { SSE } from '~/utils/sse.mjs';
-import { useMessageHandler } from '../../utils/handleSubmit';
import createPayload from '~/utils/createPayload';
import store from '~/store';