Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Update headless with no auto continue (#5901)

mamoodi78aef2b15035
diff --git a/docs/modules/usage/how-to/headless-mode.md b/docs/modules/usage/how-to/headless-mode.md
index dd5cee783f..2d085d813c 100644
--- a/docs/modules/usage/how-to/headless-mode.md
+++ b/docs/modules/usage/how-to/headless-mode.md
@@ -12,7 +12,7 @@ To run OpenHands in headless mode with Python,
and then run:
```bash
-poetry run python -m openhands.core.main -t "write a bash script that prints hi"
+poetry run python -m openhands.core.main -t "write a bash script that prints hi" --no-auto-continue
```
You'll need to be sure to set your model, API key, and other settings via environment variables