mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-19 09:50:15 +01:00
⬆️ feat: Cancel chat file uploads; fix: Assistant uploads (#4433)
* refactor: move file mutations to dedicated file, improve typing * refactor(ChatForm): utilize FileFormWrapper to consolidate file upload logic/rendering to single parent * refactor: better TSX heirarchies between AttachFile and FileFormWrapper * refactor: `abortUpload` WIP * fix: file debugging and file upload issues * refactor: reject promise outright if axios intercepted error does not include response property * chore: bump data-provider version to 0.7.428 * refactor: Add return type to localize function in Translation.ts * refactor: allow message file attachment upload request cancellations, and add localizations for file upload errors * refactor: include Azure OpenAI in paramEndpoints set * fix: assistant form uploads and better typing * refactor: consolidate logic
This commit is contained in:
parent
0870acd086
commit
65888c274a
20 changed files with 419 additions and 311 deletions
|
|
@ -33,6 +33,13 @@ export default {
|
|||
'Provided key for {0} expired at {1}. Please provide a new key and try again.',
|
||||
com_error_input_length:
|
||||
'The latest message token count is too long, exceeding the token limit ({0} respectively). Please shorten your message, adjust the max context size from the conversation parameters, or fork the conversation to continue.',
|
||||
com_error_files_empty: 'Empty files are not allowed.',
|
||||
com_error_files_dupe: 'Duplicate file detected.',
|
||||
com_error_files_validation: 'An error occurred while validating the file.',
|
||||
com_error_files_process: 'An error occurred while processing the file.',
|
||||
com_error_files_upload: 'An error occurred while uploading the file.',
|
||||
com_error_files_upload_canceled:
|
||||
'The file upload request was canceled. Note: the file upload may still be processing and will need to be manually deleted.',
|
||||
com_files_no_results: 'No results.',
|
||||
com_files_filter: 'Filter files...',
|
||||
com_generated_files: 'Generated files:',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue