mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-23 11:50:14 +01:00
✍️ feat: Automatic Save and Restore for Chat (#2942)
* feat: added "Save draft locally" to Message settings * feat: add hook to save chat input as draft every second * fix: use filepath if the file does not have a preview prop * fix: not to delete temporary files when navigating to a new chat * chore: translations * chore: import order * chore: import order --------- Co-authored-by: Danny Avila <danacordially@gmail.com> Co-authored-by: Danny Avila <danny@librechat.ai>
This commit is contained in:
parent
e9bbf39618
commit
29e71e98ad
22 changed files with 345 additions and 5 deletions
|
|
@ -409,6 +409,7 @@ export default {
|
|||
com_nav_theme_dark: '暗色主题',
|
||||
com_nav_theme_light: '亮色主题',
|
||||
com_nav_user_name_display: '在消息中显示用户名',
|
||||
com_nav_save_drafts: '保存草稿本地',
|
||||
com_nav_show_code: '使用代码解释器时始终显示代码',
|
||||
com_nav_clear_all_chats: '清空所有对话',
|
||||
com_nav_confirm_clear: '确认清空',
|
||||
|
|
@ -2110,6 +2111,10 @@ export const comparisons = {
|
|||
english: 'Display username in messages',
|
||||
translated: '在消息中显示用户名',
|
||||
},
|
||||
com_nav_save_drafts: {
|
||||
english: 'Save drafts locally',
|
||||
translated: '保存草稿本地',
|
||||
},
|
||||
com_nav_show_code: {
|
||||
english: 'Always show code when using code interpreter',
|
||||
translated: '使用代码解释器时始终显示代码',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue