Trim renamed chat name
| @@ -8807,7 +8807,7 @@ export async function renameChat(oldFileName, newName) { | ||
| 8807 | 8807 | is_group: !!selected_group, |
| 8808 | 8808 | avatar_url: characters[this_chid]?.avatar, |
| 8809 | 8809 | original_file: `${oldFileName}.jsonl`, |
| 8810 | 8810 | renamed_file: `${newName.trim()}.jsonl`, |
| 8811 | 8811 | }; |
| 8812 | 8812 | |
| 8813 | 8813 | try { |