Skip to content

Commit

Permalink
recursion error (#310)
Browse files Browse the repository at this point in the history
* recursion error

* recursion error

* version bump
bboynton97 authored Jul 24, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent a2f2f7f commit 013a113
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion agentops/session.py
Original file line number Diff line number Diff line change
@@ -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__)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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="[email protected]" },
{ name="Shawn Qiu", email="[email protected]" },

0 comments on commit 013a113

Please sign in to comment.