diff --git a/openhands/runtime/client/client.py b/openhands/runtime/client/client.py index 64dbb08a0e1d..24d2a481774a 100644 --- a/openhands/runtime/client/client.py +++ b/openhands/runtime/client/client.py @@ -457,9 +457,9 @@ async def restart_kernel(self) -> str: await self.chdir() # re-init the kernel after restart logger.info(f'Re-initializing the kernel with {self.kernel_init_code}') - act = IPythonRunCellAction(code=self.kernel_init_code) - obs = await jupyter_plugin.run(act) - logger.info(f'Kernel re-initialized. Output: {obs}') + # act = IPythonRunCellAction(code=self.kernel_init_code) + # obs = await jupyter_plugin.run(act) + # logger.info(f'Kernel re-initialized. Output: {obs}') return output async def parse_pip_output(self, code, output) -> str: