From d83b9b70e39c849bc823dbe7ef83fdf571516992 Mon Sep 17 00:00:00 2001 From: zxhlyh Date: Fri, 9 May 2025 16:25:34 +0800 Subject: [PATCH] fix: import --- .../rag-pipeline/components/panel/test-run/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/components/rag-pipeline/components/panel/test-run/index.tsx b/web/app/components/rag-pipeline/components/panel/test-run/index.tsx index 3c3f040227..5f5d3c95e3 100644 --- a/web/app/components/rag-pipeline/components/panel/test-run/index.tsx +++ b/web/app/components/rag-pipeline/components/panel/test-run/index.tsx @@ -19,7 +19,7 @@ import WaterCrawl from './data-source/website/water-crawl' import Actions from './data-source/actions' import DocumentProcessing from './document-processing' import { useTranslation } from 'react-i18next' -import { useWorkflowRun } from '../../../hooks' +import { usePipelineRun } from '../../../hooks' import type { Datasource } from './types' const TestRunPanel = () => { @@ -126,7 +126,7 @@ const TestRunPanel = () => { setCurrentStep(preStep => preStep - 1) }, []) - const { handleRun } = useWorkflowRun() + const { handleRun } = usePipelineRun() const handleProcess = useCallback(() => { const datasourceInfo: Record = {}