diff --git a/src/lib/components/chat/Messages/Markdown/MarkdownTokens.svelte b/src/lib/components/chat/Messages/Markdown/MarkdownTokens.svelte
index ffbc57443..a1df4b67e 100644
--- a/src/lib/components/chat/Messages/Markdown/MarkdownTokens.svelte
+++ b/src/lib/components/chat/Messages/Markdown/MarkdownTokens.svelte
@@ -9,6 +9,7 @@
import KatexRenderer from './KatexRenderer.svelte';
import { WEBUI_BASE_URL } from '$lib/constants';
import { stringify } from 'postcss';
+ import Collapsible from '$lib/components/common/Collapsible.svelte';
export let id: string;
export let tokens: Token[];
@@ -96,11 +97,11 @@
{/if}
{:else if token.type === 'details'}
-
- {token.summary}
-
-
-
+
+
+
+
+
{:else if token.type === 'html'}
{@const html = DOMPurify.sanitize(token.text)}
{#if html && html.includes('