diff --git a/src/lib/components/chat/MessageInput/InputMenu.svelte b/src/lib/components/chat/MessageInput/InputMenu.svelte index b15bf49588..c72d0048bb 100644 --- a/src/lib/components/chat/MessageInput/InputMenu.svelte +++ b/src/lib/components/chat/MessageInput/InputMenu.svelte @@ -74,6 +74,9 @@ 'directory' ].includes(tab); + $: showImageCapture = visionCapableModels.length > 0 && $visibleControls['chat.capture']; + $: showCapture = showImageCapture || !!recordActions; + let showAttachWebpageModal = false; $: showAddContext = $visibleControls['chat.attach_webpage'] || @@ -268,7 +271,55 @@ - {#if visionCapableModels.length > 0 && $visibleControls['chat.capture']} + {#if showCapture} + + {/if} + + {#if showAddContext} + + {/if} + + {:else if tab === 'capture' && showCapture} +