mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
👆🏼 fix: Agent Support for Upload to Provider in DragDropModal (#10063)
This commit is contained in:
parent
f931731ef8
commit
7792fcee17
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ const DragDropModal = ({ onOptionSelect, setShowModal, files, isVisible }: DragD
|
|||
const currentProvider = provider || endpoint;
|
||||
|
||||
// Check if provider supports document upload
|
||||
if (isDocumentSupportedProvider(endpointType || currentProvider)) {
|
||||
if (isDocumentSupportedProvider(currentProvider || endpointType)) {
|
||||
_options.push({
|
||||
label: localize('com_ui_upload_provider'),
|
||||
value: undefined,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue