mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 00:58:30 +00:00
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>
This commit is contained in:
@@ -1 +1,8 @@
|
||||
{"foo": ["document1", "document2"]}
|
||||
{
|
||||
"foo": ["document1", "document2"],
|
||||
"empty": [],
|
||||
"special_chars": ["doc#1", "doc@2"],
|
||||
"nested": {
|
||||
"documents": ["nested1", "nested2"]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user