👆🏼 fix: Agent Support for Upload to Provider in DragDropModal (#10063)

This commit is contained in:
Dustin Healy
2025-10-10 04:43:56 -07:00
committed by GitHub
parent f931731ef8
commit 7792fcee17

View File

@@ -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,