diff --git a/lib/crewai/src/crewai/events/types/task_events.py b/lib/crewai/src/crewai/events/types/task_events.py index cd9fc1e72..cdeab3e8e 100644 --- a/lib/crewai/src/crewai/events/types/task_events.py +++ b/lib/crewai/src/crewai/events/types/task_events.py @@ -9,6 +9,7 @@ class TaskStartedEvent(BaseEvent): type: str = "task_started" context: str | None + # TODO: Type this correctly with 'Task' type, currently impossible due to circular dependency task: Any | None = None def __init__(self, **data):