Skip to content

Commit

Permalink
Change /ping to post endpoint per AWS documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Azrak <[email protected]>
  • Loading branch information
Nathan Azrak authored and nathan-az committed Dec 28, 2024
1 parent e0ffad8 commit b3b2e36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/entrypoints/openai/api_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ async def health(raw_request: Request) -> Response:
return Response(status_code=200)


@router.get("/ping")
@router.post("/ping")
async def ping(raw_request: Request) -> Response:
"""Ping check. Endpoint required for SageMaker"""
return await health(raw_request)
Expand Down

0 comments on commit b3b2e36

Please sign in to comment.