mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-24 00:56:34 +08:00
### What problem does this PR solve? Introduced a helper method _check_task_canceled to centralize and simplify task cancellation checks throughout RecursiveAbstractiveProcessing4TreeOrganizedRetrieval. This reduces code duplication and improves maintainability. ### Type of change - [x] Refactoring