Commit Graph

2 Commits

Author SHA1 Message Date
Devin AI
b35181d441 Fix manager_agent handling in Crew.copy() method
This commit addresses issue #2260 by:
1. Adding manager_agent to the exclude list in the Crew.copy() method
2. Implementing proper error handling for manager_agent copying
3. Adding comprehensive tests to verify the fix
4. Enhancing test data for better coverage
5. Improving docstrings for better code documentation

Co-Authored-By: Joe Moura <joao@crewai.com>
2025-03-03 09:01:11 +00:00
Devin AI
c380c9946c Fix validation errors when using manager_agent with kickoff_for_each
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-03-03 08:49:28 +00:00