diff --git a/openhands/runtime/base.py b/openhands/runtime/base.py index 87ef10d711a5..882a32062659 100644 --- a/openhands/runtime/base.py +++ b/openhands/runtime/base.py @@ -221,9 +221,9 @@ async def _handle_action(self, event: Action) -> None: assert event.timeout is not None try: if isinstance(event, CmdRunAction): - print('found event action', event.action) - if '$GITHUB_TOKEN' in event.action: - print('token required by action', event.action) + print('found event action', event.command) + if '$GITHUB_TOKEN' in event.command: + print('token required by action', event.command) await call_sync_from_async( self.run, CmdRunAction(