[PR #7884] [CLOSED] server: move /api/version to use http.Handler #17818

Closed
opened 2026-04-16 06:15:04 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/7884
Author: @jmorganca
Created: 11/29/2024
Status: Closed

Base: mainHead: jmorganca/degin-1


📝 Commits (1)

  • 7423d45 server: move /api/version to regular http.Handler, add tests

📊 Changes

2 files changed (+57 additions, -24 deletions)

View changed files

📝 server/routes.go (+22 -3)
📝 server/routes_test.go (+35 -21)

📄 Description

also adds tests for the /api/version endpoint


🔄 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/7884 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 11/29/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `jmorganca/degin-1` --- ### 📝 Commits (1) - [`7423d45`](https://github.com/ollama/ollama/commit/7423d45614b1bb6990c030269c740c7aebfa1a26) server: move /api/version to regular http.Handler, add tests ### 📊 Changes **2 files changed** (+57 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `server/routes.go` (+22 -3) 📝 `server/routes_test.go` (+35 -21) </details> ### 📄 Description also adds tests for the /api/version endpoint --- <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-04-16 06:15:04 -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#17818