fix/refac: images

This commit is contained in:
Timothy Jaeryang Baek committed 2026-01-06 03:25:39 +04:00
1 parent 927a765641
commit 1148d1c927
6 files changed
+10 -8

No files matched your search

+1 -1
View File
@@ -206,7 +206,7 @@
/>
{/if}
{:else if typeof file === 'object'}
{#if file.type === 'image' && file.url}
{#if (file.type === 'image' || (file?.content_type ?? '').startsWith('image/')) && file.url}
<Image
id={`${collapsibleId}-tool-calls-${attributes?.id}-result-${idx}`}
src={file.url}