Skip to content

Commit 2076795

Browse files
authored
chore: remove --no-reload that was removed (#424)
1 parent ab3c0be commit 2076795

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

openhands/agent_server/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ uv run python -m openhands.agent_server
3333
# Start with custom host and port
3434
uv run python -m openhands.agent_server --host localhost --port 3000
3535

36-
# Start without auto-reload (for production)
37-
uv run python -m openhands.agent_server --no-reload
36+
# Start with auto-reload (for dev)
37+
uv run python -m openhands.agent_server --reload
3838
```
3939

4040
### Command Line Options
4141

4242
- `--host`: Host to bind to (default: `0.0.0.0`)
4343
- `--port`: Port to bind to (default: `8000`)
44-
- `--no-reload`: Disable auto-reload (enabled by default for development)
44+
- `--reload`: Enable auto-reload
4545

4646
## Configuration
4747

@@ -187,4 +187,4 @@ The server logs important events to stdout. For debugging, check:
187187
- Server startup messages
188188
- Configuration loading
189189
- API request/response logs
190-
- WebSocket connection events
190+
- WebSocket connection events

openhands/agent_server/docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ EXPOSE ${PORT}
143143
FROM base-image AS source
144144
ARG USERNAME
145145
COPY --chown=${USERNAME}:${USERNAME} --from=builder /agent-server /agent-server
146-
ENTRYPOINT ["/agent-server/.venv/bin/python","-m","openhands.agent_server","--no-reload"]
146+
ENTRYPOINT ["/agent-server/.venv/bin/python","-m","openhands.agent_server"]
147147

148148

149149
############################
@@ -156,4 +156,4 @@ ARG USERNAME
156156

157157
COPY --chown=${USERNAME}:${USERNAME} --from=build-binary /agent-server/dist/openhands-agent-server /usr/local/bin/openhands-agent-server
158158
RUN chmod +x /usr/local/bin/openhands-agent-server
159-
ENTRYPOINT ["/usr/local/bin/openhands-agent-server", "--no-reload"]
159+
ENTRYPOINT ["/usr/local/bin/openhands-agent-server"]

0 commit comments

Comments
 (0)