Skip to content

Commit

Permalink
drag for tools
Browse files Browse the repository at this point in the history
  • Loading branch information
gary149 committed May 22, 2024
1 parent 368902b commit 8eeed3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/chat/ChatWindow.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
class="relative flex w-full max-w-4xl flex-1 items-center rounded-xl border bg-gray-100 focus-within:border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:focus-within:border-gray-500
{isReadOnly ? 'opacity-30' : ''}"
>
{#if onDrag && currentModel.multimodal}
{#if onDrag && (currentModel.multimodal || currentModel.tools)}
<FileDropzone bind:files bind:onDrag />
{:else}
<div class="flex w-full flex-1 border-none bg-transparent">
Expand Down

0 comments on commit 8eeed3b

Please sign in to comment.