Skip to content

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.

Added is_auto_end flag in agentops.end session in crew.py (#1320)

Anmol Deepec89e003c86b
diff --git a/src/crewai/crew.py b/src/crewai/crew.py
index 943320ceb..f0a502249 100644
--- a/src/crewai/crew.py
+++ b/src/crewai/crew.py
@@ -1032,6 +1032,7 @@ class Crew(BaseModel):
agentops.end_session(
end_state="Success",
end_state_reason="Finished Execution",
+ is_auto_end=True,
)
self._telemetry.end_crew(self, final_string_output)