- Remove unused Optional import from mlflow.py
- Add noqa comment for mlflow import in try block
- Add parameter type validation with TypeError for non-boolean inputs
- Add MLflow listener import to events/__init__.py
- Clean up unused imports in test files
Addresses code review feedback from João regarding parameter validation
and return type annotations while fixing CI lint failures.
Co-Authored-By: João <joao@crewai.com>
- Add mlflow.crewai.autolog() functionality as documented
- Create MLflow event listener for tracing CrewAI workflows
- Support enabling/disabling MLflow autologging
- Add comprehensive tests covering the integration
- Graceful degradation when MLflow is not installed
Fixes#2947
Co-Authored-By: João <joao@crewai.com>