forked from open-webui/open-webui
feat: multimodal support prep
This commit is contained in:
parent
78e93ab726
commit
e70cff67c2
4 changed files with 117 additions and 38 deletions
|
@ -409,6 +409,17 @@
|
|||
</div>
|
||||
{:else}
|
||||
<div class="w-full">
|
||||
{#if message.files}
|
||||
<div class="my-3">
|
||||
{#each message.files as file}
|
||||
<div>
|
||||
{#if file.type === 'image'}
|
||||
<img src={file.url} alt="input" class=" max-h-96" />
|
||||
{/if}
|
||||
</div>
|
||||
{/each}
|
||||
</div>
|
||||
{/if}
|
||||
{message.content}
|
||||
|
||||
<div class=" flex justify-start space-x-1">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue