diff --git a/src/lib/components/chat/Messages/ContentRenderer.svelte b/src/lib/components/chat/Messages/ContentRenderer.svelte index ea612034c..91cc04672 100644 --- a/src/lib/components/chat/Messages/ContentRenderer.svelte +++ b/src/lib/components/chat/Messages/ContentRenderer.svelte @@ -73,7 +73,7 @@ on:code={(e) => { const { lang } = e.detail; console.log('code', lang); - if (lang === 'html') { + if (['html', 'svg'].includes(lang)) { showArtifacts.set(true); showControls.set(true); }