mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-10 07:18:10 -05:00
Add /health endpoint to server (#5136)
Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
@@ -94,6 +94,11 @@ app.add_middleware(
|
||||
)
|
||||
|
||||
|
||||
@app.get('/health')
|
||||
async def health():
|
||||
return 'OK'
|
||||
|
||||
|
||||
security_scheme = HTTPBearer()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user