Add /health endpoint to server (#5136)

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
Robert Brennan
2024-11-19 17:40:20 -05:00
committed by GitHub
parent 018080aae0
commit a3977621ed

View File

@@ -94,6 +94,11 @@ app.add_middleware(
)
@app.get('/health')
async def health():
return 'OK'
security_scheme = HTTPBearer()