lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
41.83k stars 9.43k forks source link

[Bug] In the server-side database version, the copied assistant created using the "Create Copy" function have the same name as the original assistants #3303

Open jimmyshjj opened 2 months ago

jimmyshjj commented 2 months ago

📦 Environment

Vercel

📌 Version

v1.6.11

💻 Operating System

Windows

🌐 Browser

Chrome

🐛 Bug Description

In the server-side database version, the copied assistant created using the "Create Copy" function have the same name as the original assistants. In the local browser database version, they are marked as '副本'.

📷 Recurrence Steps

In the server-side database version:

  1. Create a new assistant
  2. Change the default name '自定义助手' to any other name, such as '自定义助手2'
  3. Select 'Create Copy'
  4. The new assistant's name is still '自定义助手2' image

🚦 Expected Behavior

In the local database version:

  1. Create a new assistant
  2. Change the default name '自定义助手' to any other name, such as '自定义助手2'
  3. Select 'Create Copy'
  4. The new assistant's name is '自定义助手2 副本' image

📝 Additional Information

No response

lobehubbot commented 2 months ago

👀 @jimmyshjj

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。