mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-15 11:08:33 +00:00
Removes manual deep copy of memory objects in Crew.copy(). The Pydantic model_validator 'create_crew_memory' handles the initialization of new memory instances for the copied crew. Updates test_crew_copy_with_memory assertions to verify that the private memory attributes (_short_term_memory, etc.) are correctly initialized as new instances in the copied crew. Co-Authored-By: Joe Moura <joao@crewai.com>
150 KiB
150 KiB