Skip to content

Commit

Permalink
Update truss_server.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MerlynTheWizard authored Dec 18, 2023
1 parent 6191ebf commit e89b0cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llama-7b/server/common/truss_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def create_application(self):
on_startup=[self.on_startup],
routes=[
# liveness endpoint
FastAPIRoute(r"/", lambda: True),
FastAPIRoute(r"/health", lambda: True),
# readiness endpoint
FastAPIRoute(
r"/v1/models/{model_name}", self._endpoints.model_ready, tags=["V1"]
Expand Down

0 comments on commit e89b0cd

Please sign in to comment.