Skip to content

Commit

Permalink
Fix - terminal not working (#4800)
Browse files Browse the repository at this point in the history
  • Loading branch information
tofarr authored Nov 6, 2024
1 parent 8a063fd commit 1bd46f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openhands/server/session/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ async def on_event(self, event: Event):
return
if event.source == EventSource.AGENT:
await self.send(event_to_dict(event))
elif event.source == EventSource.USER and isinstance(event, CmdOutputObservation):
await self.send(event_to_dict(event))
# NOTE: ipython observations are not sent here currently
elif event.source == EventSource.ENVIRONMENT and isinstance(
event, (CmdOutputObservation, AgentStateChangedObservation)
Expand Down

0 comments on commit 1bd46f3

Please sign in to comment.