mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-05 01:02:37 +00:00
The tools parameter in before_tool_call/after_tool_call decorators now auto-sanitizes names via sanitize_tool_name(), so users can pass BaseTool.name directly without knowing the internal normalization. Also fixes tool_utils.py to pass the sanitized name to ToolCallHookContext for consistency with crew_agent_executor.py. Closes #5335