mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Load the event stream fix after it's no longer a dataclass (#5948)
This commit is contained in:
parent
40d8245089
commit
2ec2f2538f
@ -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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user