Skip to content

Commit

Permalink
Add livez and readyz endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
petrosbaltzis authored Oct 2, 2023
1 parent ebe4d1d commit 92cb486
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions vllm/entrypoints/api_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@
engine = None


@app.post("/livez")
def livez():
return ""


@app.post("/readyz")
def readyz():
return ""

@app.post("/generate")
async def generate(request: Request) -> Response:
"""Generate completion for the request.
Expand Down

0 comments on commit 92cb486

Please sign in to comment.