From 90e70608b9ba5520309a846666fd691fab2f6b40 Mon Sep 17 00:00:00 2001 From: "Taylor Wilsdon (aider)" Date: Sun, 15 Dec 2024 16:25:18 -0500 Subject: [PATCH] feat: Add Google Drive upload option to InputMenu --- .../chat/MessageInput/InputMenu.svelte | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/src/lib/components/chat/MessageInput/InputMenu.svelte b/src/lib/components/chat/MessageInput/InputMenu.svelte index 9cb1b6198..513ad32d3 100644 --- a/src/lib/components/chat/MessageInput/InputMenu.svelte +++ b/src/lib/components/chat/MessageInput/InputMenu.svelte @@ -14,6 +14,7 @@ const i18n = getContext('i18n'); export let uploadFilesHandler: Function; + export let uploadGoogleDriveHandler: Function; export let selectedToolIds: string[] = []; export let webSearchEnabled: boolean; @@ -104,13 +105,30 @@ {/if} { uploadFilesHandler(); }} > -
{$i18n.t('Upload Files')}
+
{$i18n.t('Upload Files')}
+
+ + { + uploadGoogleDriveHandler(); + }} + > + + + + + + + + +
{$i18n.t('Google Drive')}