mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-03-01 22:00:18 +01:00
🛠 refactor: Ensure File Deletions, File Naming, and Agent Resource Updates (#5928)
* refactor: Improve error logging for file upload and processing functions to prevent verbosity
* refactor: Add uploads directory to Docker Compose to persist file uploads
* refactor: `addAgentResourceFile` to handle edge case of non-existing `tool_resource` array
* refactor: Remove version specification from deploy-compose.yml
* refactor: Prefix filenames with file_id to ensure uniqueness in file uploads
* refactor: Enhance error handling in deleteVectors to log warnings for non-404 errors
* refactor: Limit file search results to top 5 based on relevance score
* 🌍 i18n: Update translation.json with latest translations
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
f0f09138bd
commit
964a74c73b
31 changed files with 262 additions and 102 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"chat_direction_left_to_right": "Chat direction is now left to right",
|
||||
"chat_direction_right_to_left": "Chat direction is now right to left",
|
||||
"chat_direction_left_to_right": "something needs to go here. was empty",
|
||||
"chat_direction_right_to_left": "something needs to go here. was empty",
|
||||
"com_a11y_ai_composing": "The AI is still composing.",
|
||||
"com_a11y_end": "The AI has finished their reply.",
|
||||
"com_a11y_start": "The AI has started their reply.",
|
||||
|
|
@ -124,9 +124,11 @@
|
|||
"com_auth_submit_registration": "Submit registration",
|
||||
"com_auth_to_reset_your_password": "to reset your password.",
|
||||
"com_auth_to_try_again": "to try again.",
|
||||
"com_auth_two_factor": "Check your preferred one-time password application for a code",
|
||||
"com_auth_username": "Username (optional)",
|
||||
"com_auth_username_max_length": "Username must be less than 20 characters",
|
||||
"com_auth_username_min_length": "Username must be at least 2 characters",
|
||||
"com_auth_verify_your_identity": "Verify Your Identity",
|
||||
"com_auth_welcome_back": "Welcome back",
|
||||
"com_click_to_download": "(click here to download)",
|
||||
"com_download_expired": "(download expired)",
|
||||
|
|
@ -263,9 +265,10 @@
|
|||
"com_files_filter": "Filter files...",
|
||||
"com_files_no_results": "No results.",
|
||||
"com_files_number_selected": "{{0}} of {{1}} items(s) selected",
|
||||
"com_files_table": "Files Table",
|
||||
"com_files_table": "something needs to go here. was empty",
|
||||
"com_generated_files": "Generated files:",
|
||||
"com_hide_examples": "Hide Examples",
|
||||
"com_nav_2fa": "Two-Factor Authentication (2FA)",
|
||||
"com_nav_account_settings": "Account Settings",
|
||||
"com_nav_always_make_prod": "Always make new versions production",
|
||||
"com_nav_archive_created_at": "Date Archived",
|
||||
|
|
@ -435,9 +438,16 @@
|
|||
"com_sidepanel_parameters": "Parameters",
|
||||
"com_sidepanel_select_agent": "Select an Agent",
|
||||
"com_sidepanel_select_assistant": "Select an Assistant",
|
||||
"com_nav_2fa": "Two-Factor Authentication (2FA)",
|
||||
"com_auth_verify_your_identity": "Verify Your Identity",
|
||||
"com_auth_two_factor": "Check your preferred one-time password application for a code",
|
||||
"com_ui_2fa_account_security": "Two-factor authentication adds an extra layer of security to your account",
|
||||
"com_ui_2fa_disable": "Disable 2FA",
|
||||
"com_ui_2fa_disable_error": "There was an error disabling two-factor authentication",
|
||||
"com_ui_2fa_disabled": "2FA has been disabled",
|
||||
"com_ui_2fa_enable": "Enable 2FA",
|
||||
"com_ui_2fa_enabled": "2FA has been enabled",
|
||||
"com_ui_2fa_generate_error": "There was an error generating two-factor authentication settings",
|
||||
"com_ui_2fa_invalid": "Invalid two-factor authentication code",
|
||||
"com_ui_2fa_setup": "Setup 2FA",
|
||||
"com_ui_2fa_verified": "Successfully verified Two-Factor Authentication",
|
||||
"com_ui_accept": "I accept",
|
||||
"com_ui_add": "Add",
|
||||
"com_ui_add_model_preset": "Add a model or preset for an additional response",
|
||||
|
|
@ -488,6 +498,9 @@
|
|||
"com_ui_azure": "Azure",
|
||||
"com_ui_back_to_chat": "Back to Chat",
|
||||
"com_ui_back_to_prompts": "Back to Prompts",
|
||||
"com_ui_backup_codes": "Backup Codes",
|
||||
"com_ui_backup_codes_regenerate_error": "There was an error regenerating backup codes",
|
||||
"com_ui_backup_codes_regenerated": "Backup codes have been regenerated successfully",
|
||||
"com_ui_basic": "Basic",
|
||||
"com_ui_basic_auth_header": "Basic authorization header",
|
||||
"com_ui_bearer": "Bearer",
|
||||
|
|
@ -524,6 +537,7 @@
|
|||
"com_ui_collapse_chat": "Collapse Chat",
|
||||
"com_ui_command_placeholder": "Optional: Enter a command for the prompt or name will be used",
|
||||
"com_ui_command_usage_placeholder": "Select a Prompt by command or name",
|
||||
"com_ui_complete_setup": "Complete Setup",
|
||||
"com_ui_confirm_action": "Confirm Action",
|
||||
"com_ui_confirm_admin_use_change": "Changing this setting will block access for admins, including yourself. Are you sure you want to proceed?",
|
||||
"com_ui_confirm_change": "Confirm Change",
|
||||
|
|
@ -577,8 +591,11 @@
|
|||
"com_ui_descending": "Desc",
|
||||
"com_ui_description": "Description",
|
||||
"com_ui_description_placeholder": "Optional: Enter a description to display for the prompt",
|
||||
"com_ui_disabling": "Disabling...",
|
||||
"com_ui_download": "Download",
|
||||
"com_ui_download_artifact": "Download Artifact",
|
||||
"com_ui_download_backup": "Download Backup Codes",
|
||||
"com_ui_download_backup_tooltip": "Before you continue, download your backup codes. You will need them to regain access if you lose your authenticator device",
|
||||
"com_ui_download_error": "Error downloading file. The file may have been deleted.",
|
||||
"com_ui_drag_drop": "something needs to go here. was empty",
|
||||
"com_ui_dropdown_variables": "Dropdown variables:",
|
||||
|
|
@ -627,7 +644,10 @@
|
|||
"com_ui_fork_split_target_setting": "Start fork from target message by default",
|
||||
"com_ui_fork_success": "Successfully forked conversation",
|
||||
"com_ui_fork_visible": "Visible messages only",
|
||||
"com_ui_global_group": "Global Group",
|
||||
"com_ui_generate_backup": "Generate Backup Codes",
|
||||
"com_ui_generate_qrcode": "Generate QR Code",
|
||||
"com_ui_generating": "Generating...",
|
||||
"com_ui_global_group": "something needs to go here. was empty",
|
||||
"com_ui_go_back": "Go back",
|
||||
"com_ui_go_to_conversation": "Go to conversation",
|
||||
"com_ui_happy_birthday": "It's my 1st birthday!",
|
||||
|
|
@ -668,14 +688,16 @@
|
|||
"com_ui_new_chat": "New chat",
|
||||
"com_ui_next": "Next",
|
||||
"com_ui_no": "No",
|
||||
"com_ui_no_backup_codes": "No backup codes available. Please generate new ones",
|
||||
"com_ui_no_bookmarks": "it seems like you have no bookmarks yet. Click on a chat and add a new one",
|
||||
"com_ui_no_category": "No category",
|
||||
"com_ui_no_changes": "No changes to update",
|
||||
"com_ui_no_data": "No data",
|
||||
"com_ui_no_data": "something needs to go here. was empty",
|
||||
"com_ui_no_terms_content": "No terms and conditions content to display",
|
||||
"com_ui_no_valid_items": "No valid items",
|
||||
"com_ui_no_valid_items": "something needs to go here. was empty",
|
||||
"com_ui_none": "None",
|
||||
"com_ui_none_selected": "None selected",
|
||||
"com_ui_not_used": "Not Used",
|
||||
"com_ui_nothing_found": "Nothing found",
|
||||
"com_ui_oauth": "OAuth",
|
||||
"com_ui_of": "of",
|
||||
|
|
@ -703,6 +725,8 @@
|
|||
"com_ui_read_aloud": "Read aloud",
|
||||
"com_ui_refresh_link": "Refresh link",
|
||||
"com_ui_regenerate": "Regenerate",
|
||||
"com_ui_regenerate_backup": "Regenerate Backup Codes",
|
||||
"com_ui_regenerating": "Regenerating...",
|
||||
"com_ui_region": "Region",
|
||||
"com_ui_rename": "Rename",
|
||||
"com_ui_rename_prompt": "Rename Prompt",
|
||||
|
|
@ -725,6 +749,7 @@
|
|||
"com_ui_schema": "Schema",
|
||||
"com_ui_scope": "Scope",
|
||||
"com_ui_search": "Search",
|
||||
"com_ui_secret_key": "Secret Key",
|
||||
"com_ui_select": "Select",
|
||||
"com_ui_select_file": "Select a file",
|
||||
"com_ui_select_model": "Select a model",
|
||||
|
|
@ -749,6 +774,7 @@
|
|||
"com_ui_shared_link_not_found": "Shared link not found",
|
||||
"com_ui_shared_prompts": "Shared Prompts",
|
||||
"com_ui_shop": "Shopping",
|
||||
"com_ui_show": "Show",
|
||||
"com_ui_show_all": "Show All",
|
||||
"com_ui_show_qr": "Show QR Code",
|
||||
"com_ui_sign_in_to_domain": "Sign-in to {{0}}",
|
||||
|
|
@ -786,46 +812,20 @@
|
|||
"com_ui_upload_invalid_var": "Invalid file for upload. Must be an image not exceeding {{0}} MB",
|
||||
"com_ui_upload_success": "Successfully uploaded file",
|
||||
"com_ui_upload_type": "Select Upload Type",
|
||||
"com_ui_use_2fa_code": "Use 2FA Code Instead",
|
||||
"com_ui_use_backup_code": "Use Backup Code Instead",
|
||||
"com_ui_use_micrphone": "Use microphone",
|
||||
"com_ui_use_prompt": "Use prompt",
|
||||
"com_ui_used": "Used",
|
||||
"com_ui_variables": "Variables",
|
||||
"com_ui_variables_info": "Use double braces in your text to create variables, e.g. `{{example variable}}`, to later fill when using the prompt.",
|
||||
"com_ui_verify": "Verify",
|
||||
"com_ui_version_var": "Version {{0}}",
|
||||
"com_ui_versions": "Versions",
|
||||
"com_ui_view_source": "View source chat",
|
||||
"com_ui_write": "Writing",
|
||||
"com_ui_yes": "Yes",
|
||||
"com_ui_zoom": "Zoom",
|
||||
"com_ui_secret_key": "Secret Key",
|
||||
"com_ui_2fa_account_security": "Two-factor authentication adds an extra layer of security to your account",
|
||||
"com_ui_2fa_generate_error": "There was an error generating two-factor authentication settings",
|
||||
"com_ui_backup_codes": "Backup Codes",
|
||||
"com_ui_2fa_invalid": "Invalid two-factor authentication code",
|
||||
"com_ui_2fa_setup": "Setup 2FA",
|
||||
"com_ui_2fa_enable": "Enable 2FA",
|
||||
"com_ui_2fa_disable": "Disable 2FA",
|
||||
"com_ui_disabling": "Disabling...",
|
||||
"com_ui_2fa_enabled": "2FA has been enabled",
|
||||
"com_ui_2fa_disabled": "2FA has been disabled",
|
||||
"com_ui_download_backup": "Download Backup Codes",
|
||||
"com_ui_use_backup_code": "Use Backup Code Instead",
|
||||
"com_ui_use_2fa_code": "Use 2FA Code Instead",
|
||||
"com_ui_verify": "Verify",
|
||||
"com_ui_2fa_disable_error": "There was an error disabling two-factor authentication",
|
||||
"com_ui_2fa_verified": "Successfully verified Two-Factor Authentication",
|
||||
"com_ui_generate_backup": "Generate Backup Codes",
|
||||
"com_ui_regenerate_backup": "Regenerate Backup Codes",
|
||||
"com_ui_regenerating": "Regenerating...",
|
||||
"com_ui_used": "Used",
|
||||
"com_ui_not_used": "Not Used",
|
||||
"com_ui_backup_codes_regenerated": "Backup codes have been regenerated successfully",
|
||||
"com_ui_backup_codes_regenerate_error": "There was an error regenerating backup codes",
|
||||
"com_ui_no_backup_codes": "No backup codes available. Please generate new ones",
|
||||
"com_ui_generating": "Generating...",
|
||||
"com_ui_generate_qrcode": "Generate QR Code",
|
||||
"com_ui_complete_setup": "Complete Setup",
|
||||
"com_ui_download_backup_tooltip": "Before you continue, download your backup codes. You will need them to regain access if you lose your authenticator device",
|
||||
"com_ui_show": "Show",
|
||||
"com_user_message": "You",
|
||||
"com_warning_resubmit_unsupported": "Resubmitting the AI message is not supported for this endpoint."
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue