Closed
Description
Please read this first
- Have you read the docs?Agents SDK docs yes
- Have you searched for related issues? Others may have had similar requests
Question
Running agents in parallel following this example https://github.com/openai/openai-agents-python/blob/main/examples/agent_patterns/parallelization.py
with trace("Coding Agent"):
solutions: list[RunResult] = await asyncio.gather(
*[Runner.run(coding_agent, prompt) for _ in range(3)]
)
Ends up sending multiple traces but only one is populated.

Is this expected?