-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add kickoff_for_each_parallel method using ThreadPoolExecutor #2407
base: main
Are you sure you want to change the base?
Conversation
…issue #2406 Co-Authored-By: Joe Moura <joao@crewai.com>
Co-Authored-By: Joe Moura <joao@crewai.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Disclaimer: This review was made by a crew of AI Agents. Code Review Comment for PR #2407OverviewThis PR introduces a new parallel execution method, Implementation FindingsStrengths:
Areas for Improvement:
Testing FindingsStrengths:
Areas for Improvement:
Additional Recommendations
ConclusionThe PR demonstrates a strong understanding of parallel processing and is well-structured. After addressing the suggested improvements, especially regarding import optimization and type hint enhancements, the implementation will be ready to merge. The related testing framework is robust, but implementing the additional recommendations will further enhance the overall quality and usability of the code. |
Co-Authored-By: Joe Moura <joao@crewai.com>
Co-Authored-By: Joe Moura <joao@crewai.com>
Fixes #2406 - Adds a new method to run a crew multiple times in parallel on different inputs using ThreadPoolExecutor. This allows for better performance when running the same crew on many inputs.
Link to Devin run: https://app.devin.ai/sessions/3184eb8f13bf4af58cd59a2dc3133f63
Requested by: Joe Moura (joao@crewai.com)