[PR #10620] server/routes: add GET /health #75591

Open
opened 2026-05-05 08:01:03 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/10620
Author: @jrc2139
Created: 5/8/2025
Status: 🔄 Open

Base: mainHead: feature/add-health-endpoint


📝 Commits (3)

  • d70bbf6 feat(server/routes): add GET /health
  • a9db64f test(server/routes): error msg
  • e0a8a78 feat(server/routes): add HEAD /health

📊 Changes

2 files changed (+23 additions, -0 deletions)

View changed files

📝 server/routes.go (+2 -0)
📝 server/routes_test.go (+21 -0)

📄 Description

GET /health endpoint that returns plaintext "OK"

closes: 5389


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/10620 **Author:** [@jrc2139](https://github.com/jrc2139) **Created:** 5/8/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feature/add-health-endpoint` --- ### 📝 Commits (3) - [`d70bbf6`](https://github.com/ollama/ollama/commit/d70bbf639d97dbf1b2a073c368ebcb6c0f11f302) feat(server/routes): add GET /health - [`a9db64f`](https://github.com/ollama/ollama/commit/a9db64fba15c9e6030acca26ad38f2162d748da4) test(server/routes): error msg - [`e0a8a78`](https://github.com/ollama/ollama/commit/e0a8a78066e54db5a70da67ece3653c2f6c67578) feat(server/routes): add HEAD /health ### 📊 Changes **2 files changed** (+23 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `server/routes.go` (+2 -0) 📝 `server/routes_test.go` (+21 -0) </details> ### 📄 Description GET /health endpoint that returns plaintext "OK" closes: [5389](http://github.com/ollama/ollama/issues/5389) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-05 08:01:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#75591