support skip auto end session

This commit is contained in:
Braelyn Boynton
2024-05-29 14:28:24 -07:00
parent 0dd4f444ea
commit a4622bfce8

View File

@@ -398,7 +398,7 @@ class Crew(BaseModel):
self._rpm_controller.stop_rpm_counter() self._rpm_controller.stop_rpm_counter()
if agentops: if agentops:
agentops.end_session( agentops.end_session(
end_state="Success", end_state_reason="Finished Execution" end_state="Success", end_state_reason="Finished Execution", is_auto_end=True
) )
self._telemetry.end_crew(self, output) self._telemetry.end_crew(self, output)