Fix graph task type (#14475)

### What problem does this PR solve?
Fix graph task type

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Wang Qi
2026-04-29 17:05:56 +08:00
committed by GitHub
parent bb05a8bd7e
commit 3991bdfaf5
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ export enum LogTabs {
}
export enum ProcessingType {
knowledgeGraph = 'GraphRAG',
knowledgeGraph = 'Graph',
raptor = 'RAPTOR',
}

View File

@@ -81,9 +81,9 @@ export default {
fetchPipelineDatasetLogs: (datasetId: string) =>
`${restAPIv1}/datasets/${datasetId}/ingestions`,
runIndex: (datasetId: string, indexType: string) =>
`${restAPIv1}/datasets/${datasetId}/index?type=${indexType}`,
`${restAPIv1}/datasets/${datasetId}/index?type=${indexType.toLowerCase()}`,
traceIndex: (datasetId: string, indexType: string) =>
`${restAPIv1}/datasets/${datasetId}/index?type=${indexType}`,
`${restAPIv1}/datasets/${datasetId}/index?type=${indexType.toLowerCase()}`,
unbindPipelineTask: (datasetId: string, indexType: string) =>
`${restAPIv1}/datasets/${datasetId}/${indexType.toLowerCase()}`,
pipelineRerun: `${webAPI}/canvas/rerun`,