This commit is contained in:
Timothy Jaeryang Baek 2025-04-03 09:40:26 -07:00
parent ba77a72925
commit dfdde8bb1f

View File

@ -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`}