Files
crewAI/tests/utilities
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
..
2024-12-10 11:18:45 -05:00
2025-05-16 15:18:11 -04:00
2024-05-02 05:00:29 -03:00