Flagging this here in case anybody else encounters...
# proj-sdk
s
Flagging this here in case anybody else encounters similar issues: A side effect of using
openhands
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:
Copy code
poetry run python3 openhands/runtime/utils/runtime_build.py --base-image nikolaik/python-nodejs:python3.12-nodejs22 --build_folder containers/runtime --force_rebuild
To:
Copy code
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.
nod 1