Ver código fonte

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

tags/2.0.0-beta.1
twwu 1 mês atrás
pai
commit
c40dfe7060

+ 1
- 1
web/app/components/rag-pipeline/hooks/use-pipeline-run.ts Ver arquivo

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

Carregando…
Cancelar
Salvar