Timothy Jaeryang Baek 4 月之前
父節點
當前提交
46e319dedc
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      src/lib/components/chat/Chat.svelte

+ 0 - 4
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) => ({