π OpenHands: AI-Driven Development
Hotfix(CLI): Update README to use V1 CLI for `serve` command and point to new docker image artifacts (#11584)
Rohit Malhotra3239eb402726
diff --git a/README.md b/README.mdindex edb48cda0b..3dc12c8534 100644--- a/README.md+++ b/README.md@@ -66,10 +66,10 @@ See the [uv installation guide](https://docs.astral.sh/uv/getting-started/instal**Launch OpenHands**:```bash# Launch the GUI server-uvx --python 3.12 --from openhands-ai openhands serve+uvx --python 3.12 openhands serve# Or launch the CLI-uvx --python 3.12 --from openhands-ai openhands+uvx --python 3.12 openhands```You'll find OpenHands running at [http://localhost:3000](http://localhost:3000) (for GUI mode)!diff --git a/openhands-cli/openhands_cli/gui_launcher.py b/openhands-cli/openhands_cli/gui_launcher.pyindex 554817379f..b872496123 100644--- a/openhands-cli/openhands_cli/gui_launcher.py+++ b/openhands-cli/openhands_cli/gui_launcher.py@@ -104,8 +104,8 @@ def launch_gui_server(mount_cwd: bool = False, gpu: bool = False) -> None:# Get the current version for the Docker imageversion = get_openhands_version()- runtime_image = f'docker.all-hands.dev/openhands/runtime:{version}-nikolaik'- app_image = f'docker.all-hands.dev/openhands/openhands:{version}'+ runtime_image = f'docker.openhands.dev/openhands/runtime:{version}-nikolaik'+ app_image = f'docker.openhands.dev/openhands/openhands:{version}'print_formatted_text(HTML('<grey>Pulling required Docker images...</grey>'))diff --git a/openhands-cli/tests/test_gui_launcher.py b/openhands-cli/tests/test_gui_launcher.pyindex dfcca32bc0..7bf036e91a 100644--- a/openhands-cli/tests/test_gui_launcher.py+++ b/openhands-cli/tests/test_gui_launcher.py@@ -182,7 +182,7 @@ class TestLaunchGuiServer:# Check pull commandpull_call = mock_run.call_args_list[0]pull_cmd = pull_call[0][0]- assert pull_cmd[0:3] == ['docker', 'pull', 'docker.all-hands.dev/openhands/runtime:latest-nikolaik']+ assert pull_cmd[0:3] == ['docker', 'pull', 'docker.openhands.dev/openhands/runtime:latest-nikolaik']# Check run commandrun_call = mock_run.call_args_list[1]