Connect engine healthcheck to openai server (#3260)

This commit is contained in:
Nick Hill
2024-03-07 16:38:12 -08:00
committed by GitHub
parent b35cc93420
commit d2339d6840

View File

@@ -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)