mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-07-09 21:57:02 +00:00
ce06a0d26a
Enhanced the flowWorker's task processing by introducing a cancellable context for task execution. This change ensures that tasks can be properly cancelled without reporting false success states. The `runTask` method has been refactored to utilize a new `execTask` method, which centralizes task execution logic and maintains context integrity. This update improves flow control and error handling during task creation and execution.