fix agentops attribute

This commit is contained in:
João Moura
2024-07-03 18:39:40 -04:00
parent fae843a243
commit 58bbff124b

View File

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