Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Fix : app unresponsive on startup (#4668)

tofarrdd55290f4e40
diff --git a/openhands/server/session/session.py b/openhands/server/session/session.py
index 2387041663..c16e511d3c 100644
--- a/openhands/server/session/session.py
+++ b/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)