Skip to content

Conversation

@sachaarbonel
Copy link
Contributor

Add health check endpoint

This PR adds a simple health check endpoint that responds to GET requests at {request_path}/health and returns a JSON response with {"status":"ok"}.

Purpose

  • Allows monitoring tools, load balancers, and container orchestration systems to verify the service is running
  • Provides a lightweight endpoint for uptime checks
  • Helps with system integration in containerized environments

Implementation

  • Uses existing request path configuration
  • Returns appropriate content type header
  • Simple JSON response for easy parsing

@ggerganov ggerganov merged commit 88d13a1 into ggml-org:master Mar 31, 2025
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants