Files
crewAI/src/crewai/utilities
Devin AI b3be8a6588 Fix custom tool registration in CrewAI 0.150.0
- Update validate_tools method in BaseAgent to accept all documented tool patterns:
  * Function tools (with or without @tool decorator)
  * Dict-based tool definitions
  * BaseTool class inheritance
  * Direct function assignment
- Change tools field type annotation from List[BaseTool] to List[Any] to allow Pydantic validation
- Update parse_tools function to accept all BaseTool instances (not just CrewAITool)
- Add comprehensive tests covering all custom tool patterns from issue #3226
- Add reproduction script to verify all patterns work correctly

Fixes #3226

Co-Authored-By: João <joao@crewai.com>
2025-07-27 01:46:12 +00:00
..
2025-04-17 09:22:48 -07:00
2025-06-10 13:32:32 -04:00
2025-02-19 13:52:47 -08:00
2024-08-23 10:52:36 -03:00
2025-01-20 13:30:09 -03:00
2025-01-20 13:30:09 -03:00
2025-05-20 14:21:21 -07:00