mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 08:38:30 +00:00
fix: Remove telemetry dependency from Flow plot method
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -1232,7 +1232,6 @@ class Flow(Generic[T], metaclass=FlowMeta):
|
|||||||
elif level == "warning":
|
elif level == "warning":
|
||||||
logger.warning(message)
|
logger.warning(message)
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
def plot(self, filename: Optional[str] = "crewai_flow") -> None:
|
def plot(self, filename: Optional[str] = "crewai_flow") -> None:
|
||||||
"""Plot the flow graph visualization.
|
"""Plot the flow graph visualization.
|
||||||
|
|
||||||
@@ -1246,7 +1245,4 @@ class Flow(Generic[T], metaclass=FlowMeta):
|
|||||||
flow_name=self.__class__.__name__,
|
flow_name=self.__class__.__name__,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
self._telemetry.flow_plotting_span(
|
|
||||||
self.__class__.__name__, list(self._methods.keys())
|
|
||||||
)
|
|
||||||
plot_flow(self, filename)
|
plot_flow(self, filename)
|
||||||
|
|||||||
Reference in New Issue
Block a user