mirror of
https://github.com/open-webui/open-webui
synced 2025-06-13 09:55:04 +00:00
refac
This commit is contained in:
parent
ba77a72925
commit
dfdde8bb1f
@ -214,18 +214,6 @@
|
|||||||
> ${formatJSONString(result)}
|
> ${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}
|
{:else}
|
||||||
<Markdown
|
<Markdown
|
||||||
id={`tool-calls-${attributes?.id}-result`}
|
id={`tool-calls-${attributes?.id}-result`}
|
||||||
|
Loading…
Reference in New Issue
Block a user