Connect engine healthcheck to openai server (#3260)
This commit is contained in:
parent
b35cc93420
commit
d2339d6840
@ -160,6 +160,7 @@ async def validation_exception_handler(_, exc):
|
||||
@app.get("/health")
|
||||
async def health() -> Response:
|
||||
"""Health check."""
|
||||
await openai_serving_chat.engine.check_health()
|
||||
return Response(status_code=200)
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user