From 91bbd55b4ce3d52b1f034bd3ad2803422b02fba2 Mon Sep 17 00:00:00 2001 From: Patrick Gray Date: Fri, 4 Jul 2025 16:54:38 +0000 Subject: [PATCH] tools - parallel execution - sleep --- src/strands/tools/executor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/strands/tools/executor.py b/src/strands/tools/executor.py index 631d0727d..01c749498 100644 --- a/src/strands/tools/executor.py +++ b/src/strands/tools/executor.py @@ -102,6 +102,8 @@ def work( yield event worker_events[worker_id].set() + time.sleep(0.001) + tool_results.extend([worker.result() for worker in workers]) else: