Skip to content

Commit

Permalink
Merge branch 'main' into feat/openai-assistants-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
the-praxs authored Dec 31, 2024
2 parents fe1d727 + e499e47 commit 9d7e29e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion agentops/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,9 @@ def _update_session(self) -> None:
"""Update session state on the server"""
if not self.is_running:
return
with self._lock: # TODO: Determine whether we really need to lock here: are incoming calls coming from other threads?

# TODO: Determine whether we really need to lock here: are incoming calls coming from other threads?
with self._lock:
payload = {"session": self.__dict__}

try:
Expand Down

0 comments on commit 9d7e29e

Please sign in to comment.