mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 00:28:31 +00:00
improve none type
This commit is contained in:
@@ -510,9 +510,8 @@ class Crew(BaseModel):
|
||||
|
||||
def kickoff(
|
||||
self,
|
||||
inputs: Optional[Dict[str, Any]] = None,
|
||||
inputs: Dict[str, Any] = {},
|
||||
) -> CrewOutput:
|
||||
inputs = inputs or {}
|
||||
for before_callback in self.before_kickoff_callbacks:
|
||||
inputs = before_callback(inputs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user