mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 00:28:31 +00:00
Add todo on TaskStartedEvent model
This commit is contained in:
@@ -9,6 +9,7 @@ class TaskStartedEvent(BaseEvent):
|
|||||||
|
|
||||||
type: str = "task_started"
|
type: str = "task_started"
|
||||||
context: str | None
|
context: str | None
|
||||||
|
# TODO: Type this correctly with 'Task' type, currently impossible due to circular dependency
|
||||||
task: Any | None = None
|
task: Any | None = None
|
||||||
|
|
||||||
def __init__(self, **data):
|
def __init__(self, **data):
|
||||||
|
|||||||
Reference in New Issue
Block a user