From 3991bdfaf57dafcca398295f399d88f8dc78aad2 Mon Sep 17 00:00:00 2001 From: Wang Qi Date: Wed, 29 Apr 2026 17:05:56 +0800 Subject: [PATCH] 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) --- web/src/pages/dataset/dataset-overview/dataset-common.ts | 2 +- web/src/utils/api.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/pages/dataset/dataset-overview/dataset-common.ts b/web/src/pages/dataset/dataset-overview/dataset-common.ts index 71a6461b0..ef289c566 100644 --- a/web/src/pages/dataset/dataset-overview/dataset-common.ts +++ b/web/src/pages/dataset/dataset-overview/dataset-common.ts @@ -4,7 +4,7 @@ export enum LogTabs { } export enum ProcessingType { - knowledgeGraph = 'GraphRAG', + knowledgeGraph = 'Graph', raptor = 'RAPTOR', } diff --git a/web/src/utils/api.ts b/web/src/utils/api.ts index ec428b65d..96ad83000 100644 --- a/web/src/utils/api.ts +++ b/web/src/utils/api.ts @@ -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`,