From 46e319dedcf38fab98ceff506664346026ddfc28 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 24 Dec 2024 18:04:41 -0700 Subject: [PATCH] refac --- src/lib/components/chat/Chat.svelte | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 59afbb793..8d3fe0fb0 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -842,10 +842,6 @@ }; const chatCompletedHandler = async (chatId, modelId, responseMessageId, messages) => { - await mermaid.run({ - querySelector: '.mermaid' - }); - const res = await chatCompleted(localStorage.token, { model: modelId, messages: messages.map((m) => ({