Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
chore: update call funtion direct to handle image attachment
Faisal Amir9565201f6b83
diff --git a/web-app/src/containers/ChatInput.tsx b/web-app/src/containers/ChatInput.tsxindex d7dd9b6cb..8501be8a6 100644--- a/web-app/src/containers/ChatInput.tsx+++ b/web-app/src/containers/ChatInput.tsx@@ -323,10 +323,6 @@ const ChatInput = ({const fileInputRef = useRef<HTMLInputElement>(null)- const handleAttachmentClick = () => {- void handleImagePickerClick()- }-const handleAttachDocsIngest = async () => {try {if (!attachmentsEnabled) {@@ -1087,7 +1083,7 @@ const ChatInput = ({<TooltipTrigger asChild><divclassName="h-7 p-1 flex items-center justify-center rounded-sm hover:bg-main-view-fg/10 transition-all duration-200 ease-in-out gap-1"- onClick={handleAttachmentClick}+ onClick={handleImagePickerClick}><IconPhotosize={18}