Skip to content

Commit 0cdc7b3

Browse files
committed
tools - parallel execution - sleep (strands-agents#355)
1 parent d601615 commit 0cdc7b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/strands/tools/executor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ def work(
107107
yield event
108108
worker_events[worker_id].set()
109109

110+
time.sleep(0.001)
111+
110112
tool_results.extend([worker.result() for worker in workers])
111113

112114
else:

0 commit comments

Comments
 (0)