straight-sundown-84319
10/06/2025, 6:38 PMopenhands package in agent-sdk is that direct script execution is janky when you import it in openhands - you have to use modules instead.
This broke the docker build for me in CI. I had to update:
poetry run python3 openhands/runtime/utils/runtime_build.py --base-image nikolaik/python-nodejs:python3.12-nodejs22 --build_folder containers/runtime --force_rebuild
To:
poetry run python3 -m openhands.runtime.utils.runtime_build --base-image nikolaik/python-nodejs:python3.12-nodejs22 --build_folder containers/runtime --force_rebuild
I imagine that any other script execution will be similarly affected.