Conversation
This comment has been minimized.
This comment has been minimized.
Code Review for PR #2143: ParallelAgentRunnerThank you for this contribution! The ✅ Strengths
🐛 Critical Issues1. Incorrect API Usage (autogen/agentchat/run_parallel_agents.py:160)response = agent.run(message=task.prompt, max_turns=task.max_turns)
response.process()The
2. Timeout Not Enforced Per-Task (autogen/agentchat/run_parallel_agents.py:259)The future = executor.submit(self._execute_single_task, task)
result = future.result(timeout=self.timeout) # Per-task timeout3. Missing Cleanup on Failure (autogen/agentchat/run_parallel_agents.py:265-270)When 4. Agent Copy Logic Issue (autogen/agentchat/run_parallel_agents.py:123-129)When copying a
|
|
hows this going? |
|
@priyansh4320 i need this asap lol i can't wait to use it!!!! :) |
|
@priyansh4320 closing this for now, please feel free to revisit and reopen if needed. |
Codecov Report❌ Patch coverage is
... and 19 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Why are these changes needed?
This PR introduces a new ParallelAgentRunner Class which let's you run your agents in parallel.
The ParallelAgentRunner adds native parallel execution capabilities to AG2, allowing multiple agents to run concurrently.
Basic Task Structure:
Related issue number
Checks