From 70c96feb29c479c5a85f88b97e407c9fe374455c Mon Sep 17 00:00:00 2001 From: Khoa Nguyen Date: Mon, 17 Jul 2023 01:49:37 +0200 Subject: [PATCH] Add response type for health endpoint --- app/routes/health.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/health.py b/app/routes/health.py index ba10bc3a..48594b56 100644 --- a/app/routes/health.py +++ b/app/routes/health.py @@ -9,7 +9,7 @@ @router.get("/api/v1/health", dependencies=[Depends(PermissionsValidator())]) -def checkhealth(): +def checkhealth() -> list[ModelStatus]: result = [] for model in LLMModel: