Files
crewAI/tests
Devin AI 8702bf1e34 fix: Rely on validator for memory copy, update test assertions
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>
2025-04-14 15:47:52 +00:00
..
2025-01-02 16:06:48 -05:00
2025-03-14 03:00:30 -03:00
2023-10-29 19:51:59 -03:00