mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Fix : app unresponsive on startup (#4668)
This commit is contained in:
parent
be77baea31
commit
dd55290f4e
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user