before kickoff breaks if inputs are none.

This commit is contained in:
Brandon Hancock
2025-01-12 10:09:57 -05:00
parent b8d07fee83
commit 1b6245d711

View File

@@ -512,6 +512,7 @@ class Crew(BaseModel):
self,
inputs: Optional[Dict[str, Any]] = None,
) -> CrewOutput:
inputs = inputs or {}
for before_callback in self.before_kickoff_callbacks:
inputs = before_callback(inputs)