lobe-chat icon indicating copy to clipboard operation
lobe-chat copied to clipboard

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

Open jimmyshjj opened this issue 7 months ago • 1 comments

📦 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

jimmyshjj avatar Jul 24 '24 10:07 jimmyshjj