🙌 OpenHands: AI-Driven Development
0.41.0 Release Branch (#8905)
Ray Myersa3790f1003e8
diff --git a/Development.md b/Development.mdindex ed1927f45f..b19e3c65ab 100644--- a/Development.md+++ b/Development.md@@ -136,7 +136,7 @@ poetry run pytest ./tests/unit/test_*.pyTo reduce build time (e.g., if no changes were made to the client-runtime component), you can use an existing Dockercontainer image by setting the SANDBOX_RUNTIME_CONTAINER_IMAGE environment variable to the desired Docker image.-Example: `export SANDBOX_RUNTIME_CONTAINER_IMAGE=ghcr.io/all-hands-ai/runtime:0.40-nikolaik`+Example: `export SANDBOX_RUNTIME_CONTAINER_IMAGE=ghcr.io/all-hands-ai/runtime:0.41-nikolaik`## Develop inside Docker containerdiff --git a/README.md b/README.mdindex 260570633b..4a8177c9bb 100644--- a/README.md+++ b/README.md@@ -51,17 +51,17 @@ system requirements and more information.```bash-docker pull docker.all-hands.dev/all-hands-ai/runtime:0.40-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.40-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaik \-e LOG_ALL_EVENTS=true \-v /var/run/docker.sock:/var/run/docker.sock \-v ~/.openhands-state:/.openhands-state \-p 3000:3000 \--add-host host.docker.internal:host-gateway \--name openhands-app \- docker.all-hands.dev/all-hands-ai/openhands:0.40+ docker.all-hands.dev/all-hands-ai/openhands:0.41```You'll find OpenHands running at [http://localhost:3000](http://localhost:3000)!diff --git a/README_CN.md b/README_CN.mdindex 2c5716f396..d23e506020 100644--- a/README_CN.md+++ b/README_CN.md@@ -51,17 +51,17 @@ OpenHands也可以使用Docker在本地系统上运行。```bash-docker pull docker.all-hands.dev/all-hands-ai/runtime:0.40-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.40-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaik \-e LOG_ALL_EVENTS=true \-v /var/run/docker.sock:/var/run/docker.sock \-v ~/.openhands-state:/.openhands-state \-p 3000:3000 \--add-host host.docker.internal:host-gateway \--name openhands-app \- docker.all-hands.dev/all-hands-ai/openhands:0.40+ docker.all-hands.dev/all-hands-ai/openhands:0.41```您将在[http://localhost:3000](http://localhost:3000)找到运行中的OpenHands!diff --git a/containers/dev/compose.yml b/containers/dev/compose.ymlindex 30b83dea5a..a60bf0c91f 100644--- a/containers/dev/compose.yml+++ b/containers/dev/compose.yml@@ -11,7 +11,7 @@ services:- BACKEND_HOST=${BACKEND_HOST:-"0.0.0.0"}- SANDBOX_API_HOSTNAME=host.docker.internal#- - SANDBOX_RUNTIME_CONTAINER_IMAGE=${SANDBOX_RUNTIME_CONTAINER_IMAGE:-ghcr.io/all-hands-ai/runtime:0.40-nikolaik}+ - SANDBOX_RUNTIME_CONTAINER_IMAGE=${SANDBOX_RUNTIME_CONTAINER_IMAGE:-ghcr.io/all-hands-ai/runtime:0.41-nikolaik}- SANDBOX_USER_ID=${SANDBOX_USER_ID:-1234}- WORKSPACE_MOUNT_PATH=${WORKSPACE_BASE:-$PWD/workspace}ports:diff --git a/docker-compose.yml b/docker-compose.ymlindex d8ac23c8db..e8f3585735 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -7,7 +7,7 @@ services:image: openhands:latestcontainer_name: openhands-app-${DATE:-}environment:- - SANDBOX_RUNTIME_CONTAINER_IMAGE=${SANDBOX_RUNTIME_CONTAINER_IMAGE:-docker.all-hands.dev/all-hands-ai/runtime:0.40-nikolaik}+ - SANDBOX_RUNTIME_CONTAINER_IMAGE=${SANDBOX_RUNTIME_CONTAINER_IMAGE:-docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaik}#- SANDBOX_USER_ID=${SANDBOX_USER_ID:-1234} # enable this only if you want a specific non-root sandbox user but you will have to manually adjust permissions of openhands-state for this user- WORKSPACE_MOUNT_PATH=${WORKSPACE_BASE:-$PWD/workspace}ports:diff --git a/docs/usage/how-to/cli-mode.mdx b/docs/usage/how-to/cli-mode.mdxindex 5ff9f8f3df..f70e4fce22 100644--- a/docs/usage/how-to/cli-mode.mdx+++ b/docs/usage/how-to/cli-mode.mdx@@ -31,7 +31,7 @@ This command opens an interactive prompt where you can type tasks or commands an```bashdocker run -it \--pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.40-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaik \-e SANDBOX_USER_ID=$(id -u) \-e SANDBOX_VOLUMES=$SANDBOX_VOLUMES \-e LLM_API_KEY=$LLM_API_KEY \@@ -40,7 +40,7 @@ docker run -it \-v ~/.openhands-state:/.openhands-state \--add-host host.docker.internal:host-gateway \--name openhands-app-$(date +%Y%m%d%H%M%S) \- docker.all-hands.dev/all-hands-ai/openhands:0.40 \+ docker.all-hands.dev/all-hands-ai/openhands:0.41 \python -m openhands.cli.main --override-cli-mode true```diff --git a/docs/usage/how-to/headless-mode.mdx b/docs/usage/how-to/headless-mode.mdxindex aae9719146..1de9a16583 100644--- a/docs/usage/how-to/headless-mode.mdx+++ b/docs/usage/how-to/headless-mode.mdx@@ -31,7 +31,7 @@ To run OpenHands in Headless mode with Docker:```bashdocker run -it \--pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.40-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaik \-e SANDBOX_USER_ID=$(id -u) \-e SANDBOX_VOLUMES=$SANDBOX_VOLUMES \-e LLM_API_KEY=$LLM_API_KEY \@@ -41,7 +41,7 @@ docker run -it \-v ~/.openhands-state:/.openhands-state \--add-host host.docker.internal:host-gateway \--name openhands-app-$(date +%Y%m%d%H%M%S) \- docker.all-hands.dev/all-hands-ai/openhands:0.40 \+ docker.all-hands.dev/all-hands-ai/openhands:0.41 \python -m openhands.core.main -t "write a bash script that prints hi"```diff --git a/docs/usage/llms/local-llms.mdx b/docs/usage/llms/local-llms.mdxindex 1f14381f5e..7735f4f01d 100644--- a/docs/usage/llms/local-llms.mdx+++ b/docs/usage/llms/local-llms.mdx@@ -54,25 +54,25 @@ Check [the installation guide](https://docs.all-hands.dev/modules/usage/installaexport LMSTUDIO_MODEL_NAME="imported-models/uncategorized/devstralq4_k_m.gguf" # <- Replace this with the model name you copied from LMStudioexport LMSTUDIO_URL="http://host.docker.internal:1234" # <- Replace this with the port from LMStudio-docker pull docker.all-hands.dev/all-hands-ai/runtime:0.40-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaikmkdir -p ~/.openhands-state && echo '{"language":"en","agent":"CodeActAgent","max_iterations":null,"security_analyzer":null,"confirmation_mode":false,"llm_model":"lm_studio/'$LMSTUDIO_MODEL_NAME'","llm_api_key":"dummy","llm_base_url":"'$LMSTUDIO_URL/v1'","remote_runtime_resource_factor":null,"github_token":null,"enable_default_condenser":true,"user_consents_to_analytics":true}' > ~/.openhands-state/settings.jsondocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.40-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaik \-e LOG_ALL_EVENTS=true \-v /var/run/docker.sock:/var/run/docker.sock \-v ~/.openhands-state:/.openhands-state \-p 3000:3000 \--add-host host.docker.internal:host-gateway \--name openhands-app \- docker.all-hands.dev/all-hands-ai/openhands:0.40+ docker.all-hands.dev/all-hands-ai/openhands:0.41```Once your server is running -- you can visit `http://localhost:3000` in your browser to use OpenHands with local Devstral model:```Digest: sha256:e72f9baecb458aedb9afc2cd5bc935118d1868719e55d50da73190d3a85c674f-Status: Image is up to date for docker.all-hands.dev/all-hands-ai/openhands:0.40+Status: Image is up to date for docker.all-hands.dev/all-hands-ai/openhands:0.41Starting OpenHands...Running OpenHands as root14:22:13 - openhands:INFO: server_config.py:50 - Using config class Nonediff --git a/frontend/package-lock.json b/frontend/package-lock.jsonindex e960508396..ab017e446f 100644--- a/frontend/package-lock.json+++ b/frontend/package-lock.json@@ -1,12 +1,12 @@{"name": "openhands-frontend",- "version": "0.40.0",+ "version": "0.41.0","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "openhands-frontend",- "version": "0.40.0",+ "version": "0.41.0","dependencies": {"@heroui/react": "2.7.8","@microlink/react-json-view": "^1.26.2",diff --git a/frontend/package.json b/frontend/package.jsonindex 5bf743e6c7..1eccb8a2f5 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -1,6 +1,6 @@{"name": "openhands-frontend",- "version": "0.40.0",+ "version": "0.41.0","private": true,"type": "module","engines": {diff --git a/pyproject.toml b/pyproject.tomlindex 471580f460..72c06c5553 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -6,7 +6,7 @@ requires = [[tool.poetry]name = "openhands-ai"-version = "0.40.0"+version = "0.41.0"description = "OpenHands: Code Less, Make More"authors = [ "OpenHands" ]license = "MIT"