Connect engine healthcheck to openai server (#3260)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user