Fix - terminal not working (#4800)

This commit is contained in:
tofarr
2024-11-06 13:34:42 -07:00
committed by GitHub
parent 8a063fdf6a
commit 1bd46f3832

View File

@@ -139,6 +139,8 @@ class Session:
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)