Fix cannot run raptor (#16694)

This commit is contained in:
Wang Qi
2026-07-07 17:02:04 +08:00
committed by GitHub
parent b82169fba1
commit 2de5940325

View File

@@ -237,7 +237,9 @@ class TaskHandler:
return
# Route to appropriate handler
if task_type == "graphrag":
if task_type == "raptor":
await self._run_raptor(embedding_model, vector_size)
elif task_type == "graphrag":
await self._run_graphrag(embedding_model)
elif task_type == "mindmap":
ctx.progress_cb(1, "place holder")