From 8967c4c8f6d42f866a47ae432f831261232cac16 Mon Sep 17 00:00:00 2001 From: StyleZhang Date: Tue, 19 Mar 2024 19:19:47 +0800 Subject: [PATCH] fix --- web/app/components/workflow/panel/debug-and-preview/hooks.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/web/app/components/workflow/panel/debug-and-preview/hooks.ts b/web/app/components/workflow/panel/debug-and-preview/hooks.ts index 25af4a2a66..f8efb2695e 100644 --- a/web/app/components/workflow/panel/debug-and-preview/hooks.ts +++ b/web/app/components/workflow/panel/debug-and-preview/hooks.ts @@ -261,10 +261,6 @@ export const useChat = ( }) handleUpdateChatList(newChatList) }, - onWorkflowStarted: () => {}, - onWorkflowFinished: () => {}, - onNodeStarted: () => {}, - onNodeFinished: () => {}, }, ) }, [handleRun, handleResponding, handleUpdateChatList, notify, t, updateCurrentQA, config.suggested_questions_after_answer?.enabled])