Skip to content

Commit 9d482d6

Browse files
authored
remove references to max_parallel_tools (#144)
1 parent e3b166e commit 9d482d6

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/strands_tools/a2a_client.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
Key Features:
77
- Agent discovery through agent cards from multiple URLs
88
- Message sending to specific A2A agents
9-
10-
Warning: when using this collection of tools ensure max_parallel_tools>1 for your Strands Agent.
11-
This is typically set by default since the the Strands Agents use cpu count as the default value.
12-
However, if you see "event loop is already running" errors, you should ensure max_parallel_tools>1.
139
"""
1410

1511
import asyncio
@@ -69,10 +65,7 @@ def tools(self) -> list[AgentTool]:
6965
return tools
7066

7167
def _run_async(self, coro):
72-
"""Handle async-to-sync conversion internally.
73-
74-
This function requires max_parallel_tools>1 on the Strands Agent.
75-
"""
68+
"""Handle async-to-sync conversion internally."""
7669
try:
7770
loop = asyncio.get_event_loop()
7871
except RuntimeError:

0 commit comments

Comments
 (0)