Skip to content

Commit

Permalink
Add response type for health endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
dakennguyen committed Jul 16, 2023
1 parent 3f1da3a commit 70c96fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/health.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


@router.get("/api/v1/health", dependencies=[Depends(PermissionsValidator())])
def checkhealth():
def checkhealth() -> list[ModelStatus]:
result = []

for model in LLMModel:
Expand Down

0 comments on commit 70c96fe

Please sign in to comment.