From 7792fcee17dc8a2b0483d4882f89f8b8cf3e74a3 Mon Sep 17 00:00:00 2001 From: Dustin Healy <54083382+dustinhealy@users.noreply.github.com> Date: Fri, 10 Oct 2025 04:43:56 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=86=F0=9F=8F=BC=20fix:=20Agent=20Suppo?= =?UTF-8?q?rt=20for=20Upload=20to=20Provider=20in=20DragDropModal=20(#1006?= =?UTF-8?q?3)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/components/Chat/Input/Files/DragDropModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Chat/Input/Files/DragDropModal.tsx b/client/src/components/Chat/Input/Files/DragDropModal.tsx index 209972e4a8..4b828d201d 100644 --- a/client/src/components/Chat/Input/Files/DragDropModal.tsx +++ b/client/src/components/Chat/Input/Files/DragDropModal.tsx @@ -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,