Files
crewAI/tests
Devin AI b2bda39e56 Fix Pydantic validation error in LLMCallStartedEvent when TokenCalcHandler in tools list
- Add model_validator to sanitize tools list before validation
- Filter out non-dict objects like TokenCalcHandler from tools list
- Preserve dict tools while removing problematic objects
- Add comprehensive test coverage for the fix and edge cases
- Resolves issue #3043

Co-Authored-By: João <joao@crewai.com>
2025-06-21 16:33:22 +00:00
..
2025-03-14 03:00:30 -03:00
2023-10-29 19:51:59 -03:00