Browse Source

Fix : app unresponsive on startup (#4668)

tofarr 1 year ago
parent
commit
dd55290f4e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      openhands/server/session/session.py

+ 1 - 1
openhands/server/session/session.py

@@ -139,7 +139,7 @@ class Session:
             await self.send(event_to_dict(event))
         # NOTE: ipython observations are not sent here currently
         elif event.source == EventSource.ENVIRONMENT and isinstance(
-            event, CmdOutputObservation
+            event, (CmdOutputObservation, AgentStateChangedObservation)
         ):
             # feedback from the environment to agent actions is understood as agent events by the UI
             event_dict = event_to_dict(event)