Add health check endpoint (#311)

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-05-16 11:12:37 +00:00 committed by GitHub
commit ed549fcbbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,7 @@ def create_app():
app.include_router(endpoints_router)
app.include_router(validate_router)
app.include_router(chat_router)
app.get("/health")(lambda: {"status": "OK"})
return app