diff --git a/agentops/session.py b/agentops/session.py index 2f0a240b..d9edbe2f 100644 --- a/agentops/session.py +++ b/agentops/session.py @@ -134,7 +134,7 @@ def record(self, event: Union[Event, ErrorEvent]): event.trigger_event_id = event.trigger_event.id event.trigger_event_type = event.trigger_event.event_type - self.record(event) + self._add_event(event.trigger_event.__dict__) event.trigger_event = None # removes trigger_event from serialization self._add_event(event.__dict__) diff --git a/pyproject.toml b/pyproject.toml index 1090a5e0..56a171b0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "agentops" -version = "0.3.3" +version = "0.3.4" authors = [ { name="Alex Reibman", email="areibman@gmail.com" }, { name="Shawn Qiu", email="siyangqiu@gmail.com" },