mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-08 04:22:20 +08:00
Fix cannot run raptor (#16694)
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user