mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 08:50: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;
|
const currentProvider = provider || endpoint;
|
||||||
|
|
||||||
// Check if provider supports document upload
|
// Check if provider supports document upload
|
||||||
if (isDocumentSupportedProvider(endpointType || currentProvider)) {
|
if (isDocumentSupportedProvider(currentProvider || endpointType)) {
|
||||||
_options.push({
|
_options.push({
|
||||||
label: localize('com_ui_upload_provider'),
|
label: localize('com_ui_upload_provider'),
|
||||||
value: undefined,
|
value: undefined,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue