Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Load the event stream fix after it's no longer a dataclass (#5948)

Engel Nyst2ec2f2538fa4
diff --git a/openhands/events/stream.py b/openhands/events/stream.py
index 0e22387309..1c8fd52f8c 100644
--- a/openhands/events/stream.py
+++ b/openhands/events/stream.py
@@ -74,6 +74,9 @@ class EventStream:
self._lock = threading.Lock()
self._cur_id = 0
+ # load the stream
+ self.__post_init__()
+
def __post_init__(self) -> None:
try:
events = self.file_store.list(get_conversation_events_dir(self.sid))