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
fix: give a stronger prompt to generate tile using the input language
Wentao Lyu943eb5c74dc3
diff --git a/api/app/titleConvo.js b/api/app/titleConvo.jsindex b8b1afe319..e0461eabaf 100644--- a/api/app/titleConvo.js+++ b/api/app/titleConvo.js@@ -11,9 +11,9 @@ const titleConvo = async ({ message, response, model }) => {{role: 'system',content:- 'You are a title-generator with one job: titling the conversation provided by a user in title case.'+ 'You are a title-generator with one job: giving a conversation, detect the language and titling the conversation provided by a user in title case, using the same language.'},- { role: 'user', content: `In 5 words or less, summarize the conversation below with a title in title case. Don't refer to the participants of the conversation by name. Do not include punctuation or quotation marks. Your response should be in title case, exclusively containing the title. Title the conversation in the language the user writes in. Conversation:\n\nUser: "${message}"\n\n${model}: "${response}"\n\nTitle: ` },+ { role: 'user', content: `In 5 words or less, summarize the conversation below with a title in title case using the language the user writes in. Don't refer to the participants of the conversation by name. Do not include punctuation or quotation marks. Your response should be in title case, exclusively containing the title. Conversation:\n\nUser: "${message}"\n\n${model}: "${response}"\n\nTitle: ` },]});