Commit Graph

2 Commits

Author SHA1 Message Date
Devin AI
88b5d835a4 Fix lint issues and add parameter validation
- 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>
2025-06-03 21:41:14 +00:00
Devin AI
39a5a40b41 Implement MLflow integration for issue #2947
- 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>
2025-06-03 21:30:40 +00:00