-
Notifications
You must be signed in to change notification settings - Fork 5
Add OpenHands CLI agent #116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,6 +38,11 @@ | |
| except ImportError as exc: | ||
| logger.warning("Skipping optional agent module browseruse_bench.agents.cursor: %s", exc) | ||
|
|
||
| try: | ||
| from browseruse_bench.agents import openhands # noqa: F401 | ||
| except ImportError as exc: | ||
| logger.warning("Skipping optional agent module browseruse_bench.agents.openhands: %s", exc) | ||
|
Comment on lines
+42
to
+44
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The OpenHands module has no optional Python SDK import, so catching every AGENTS.md reference: AGENTS.md:L12-L13 Useful? React with 👍 / 👎. |
||
|
|
||
| try: | ||
| from browseruse_bench.agents import openclaw # noqa: F401 | ||
| except ImportError as exc: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this
python:3.11-slimstage,--python 3.12makes uv download a managed interpreter;uv python dirshows that the default installation directory is/root/.local/share/uv/python. Setting onlyUV_TOOL_DIRrelocates the tool environment, not that interpreter, so its Python executable references a path beneath/root, which mode0700prevents the documented uid-1000 runtime user from traversing. The OpenHands entry point therefore cannot start in the CLI-enabled image. SetUV_PYTHON_INSTALL_DIRto a shared location (and grant traversal), or install Python 3.12 somewhere accessible to the runtime user.Useful? React with 👍 / 👎.