Fix: use async task to save memory (#12308)

### What problem does this PR solve?

Use async task to save memory.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

---------

Co-authored-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Lynn
2025-12-30 11:41:38 +08:00
committed by GitHub
parent 731e2d5f26
commit 4a6d37f0e8
4 changed files with 196 additions and 39 deletions

View File

@ -138,6 +138,7 @@ class PipelineTaskType(StrEnum):
RAPTOR = "RAPTOR"
GRAPH_RAG = "GraphRAG"
MINDMAP = "Mindmap"
MEMORY = "Memory"
VALID_PIPELINE_TASK_TYPES = {PipelineTaskType.PARSE, PipelineTaskType.DOWNLOAD, PipelineTaskType.RAPTOR,