From 2bd04ac548385c01e559eab6509e0fbdc3f21eb2 Mon Sep 17 00:00:00 2001 From: Patrick Gray Date: Fri, 4 Jul 2025 19:16:53 -0400 Subject: [PATCH] tools - parallel execution - sleep (#355) (#358) --- 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 912283d1f..22a3a3adc 100644 --- a/src/strands/tools/executor.py +++ b/src/strands/tools/executor.py @@ -107,6 +107,8 @@ def work( yield event worker_events[worker_id].set() + time.sleep(0.001) + tool_results.extend([worker.result() for worker in workers]) else: