Browse Source

fix(pipeline): correct API endpoint for stopping workflow runs

tags/2.0.0-beta.1
twwu 1 month ago
parent
commit
c40dfe7060
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      web/app/components/rag-pipeline/hooks/use-pipeline-run.ts

+ 1
- 1
web/app/components/rag-pipeline/hooks/use-pipeline-run.ts View File

@@ -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) => {

Loading…
Cancel
Save