Skip to content

Commit

Permalink
Add /health endpoint to server (#5136)
Browse files Browse the repository at this point in the history
Co-authored-by: openhands <[email protected]>
  • Loading branch information
rbren and openhands-agent authored Nov 19, 2024
1 parent 018080a commit a397762
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions openhands/server/listen.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@
)


@app.get('/health')
async def health():
return 'OK'


security_scheme = HTTPBearer()


Expand Down

0 comments on commit a397762

Please sign in to comment.