mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
refac
This commit is contained in:
parent
ba77a72925
commit
dfdde8bb1f
1 changed files with 0 additions and 12 deletions
|
|
@ -214,18 +214,6 @@
|
|||
> ${formatJSONString(result)}
|
||||
> \`\`\``}
|
||||
/>
|
||||
|
||||
{#if typeof files === 'object'}
|
||||
{#each files ?? [] as file, idx}
|
||||
{#if file.startsWith('data:image/')}
|
||||
<Image
|
||||
id={`tool-calls-${attributes?.id}-result-${idx}`}
|
||||
src={file}
|
||||
alt="Image"
|
||||
/>
|
||||
{/if}
|
||||
{/each}
|
||||
{/if}
|
||||
{:else}
|
||||
<Markdown
|
||||
id={`tool-calls-${attributes?.id}-result`}
|
||||
|
|
|
|||
Loading…
Reference in a new issue