mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
Remove redundant parameter from emit call
This commit is contained in:
@@ -977,7 +977,6 @@ class Flow(Generic[T], metaclass=FlowMeta):
|
|||||||
future = crewai_event_bus.emit(
|
future = crewai_event_bus.emit(
|
||||||
self,
|
self,
|
||||||
FlowStartedEvent(
|
FlowStartedEvent(
|
||||||
type="flow_started",
|
|
||||||
flow_name=self.name or self.__class__.__name__,
|
flow_name=self.name or self.__class__.__name__,
|
||||||
inputs=inputs,
|
inputs=inputs,
|
||||||
),
|
),
|
||||||
@@ -1005,7 +1004,6 @@ class Flow(Generic[T], metaclass=FlowMeta):
|
|||||||
future = crewai_event_bus.emit(
|
future = crewai_event_bus.emit(
|
||||||
self,
|
self,
|
||||||
FlowFinishedEvent(
|
FlowFinishedEvent(
|
||||||
type="flow_finished",
|
|
||||||
flow_name=self.name or self.__class__.__name__,
|
flow_name=self.name or self.__class__.__name__,
|
||||||
result=final_output,
|
result=final_output,
|
||||||
state=self._copy_and_serialize_state(),
|
state=self._copy_and_serialize_state(),
|
||||||
|
|||||||
Reference in New Issue
Block a user