mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-21 05:48:14 +00:00
- Remove max_depth parameter from _set_parent_flow method signature - Convert max_depth to local variable to maintain functionality - Ensures compatibility with Pydantic versions < 2.8 - Add comprehensive tests for FlowTrackable instantiation scenarios - Fixes issue #3011 where Crew instantiation failed with ValidationInfo errors The model validator signature now follows the same pattern as other validators in the codebase (Agent, LiteAgent, BaseAgent) which only accept 'self' parameter. Co-Authored-By: João <joao@crewai.com>
4.1 KiB
4.1 KiB