Commit Graph

5 Commits

Author SHA1 Message Date
Devin AI
9a3633648b Fix syntax errors in test_manager_agent_kickoff_for_each.py
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-03-03 09:07:48 +00:00
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
4f17b290c6 Fix import sorting in test file with ruff
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-03-03 08:52:21 +00:00
Devin AI
6e2c1d4530 Fix import sorting in test file
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-03-03 08:51:08 +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