From c40dfe70605579cc52ff0976d6d0652da6707c60 Mon Sep 17 00:00:00 2001 From: twwu Date: Thu, 4 Sep 2025 10:39:23 +0800 Subject: [PATCH] fix(pipeline): correct API endpoint for stopping workflow runs --- web/app/components/rag-pipeline/hooks/use-pipeline-run.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/rag-pipeline/hooks/use-pipeline-run.ts b/web/app/components/rag-pipeline/hooks/use-pipeline-run.ts index 6c15b42409..cf910d411b 100644 --- a/web/app/components/rag-pipeline/hooks/use-pipeline-run.ts +++ b/web/app/components/rag-pipeline/hooks/use-pipeline-run.ts @@ -289,7 +289,7 @@ export const usePipelineRun = () => { const handleStopRun = useCallback((taskId: string) => { const { pipelineId } = workflowStore.getState() - stopWorkflowRun(`/rag/pipeline/${pipelineId}/workflow-runs/tasks/${taskId}/stop`) + stopWorkflowRun(`/rag/pipelines/${pipelineId}/workflow-runs/tasks/${taskId}/stop`) }, [workflowStore]) const handleRestoreFromPublishedWorkflow = useCallback((publishedWorkflow: VersionHistory) => {