[PR #10174] [MERGED] Server: Enhance API/tag with Capability Information #75462

Closed
opened 2026-05-05 07:53:39 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/10174
Author: @JasonHonKL
Created: 4/8/2025
Status: Merged
Merged: 6/4/2025
Merged by: @BruceMacD

Base: mainHead: main


📝 Commits (10+)

  • 3635fd5 add Capabilities row to the api/tag
  • 03454eb Merge branch 'ollama:main' into main
  • 7cd393e add Capabilities row to the api/tag
  • f6c7411 Merge branch 'ollama:main' into main
  • 47c0b0b Update server/routes.go
  • 1762115 Merge branch 'ollama:main' into main
  • 59cbdb9 Merge branch 'ollama:main' into main
  • 5e0328b docs
  • e993330 docs
  • 58979eb Merge branch 'main' into main

📊 Changes

3 files changed (+37 additions, -19 deletions)

View changed files

📝 api/types.go (+7 -6)
📝 docs/api.md (+19 -10)
📝 server/routes.go (+11 -3)

📄 Description

This change enhances the api/tag request by adding an additional row for each model's capability information. The solution reuses the GetModel function from the api/show endpoint. This PR addresses the feature request mentioned in #10097. It is believed that no existing test cases will need to be modified.

CONTRIBUTING: This PR adds extra capability information to the api/tags API.


🔄 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/10174 **Author:** [@JasonHonKL](https://github.com/JasonHonKL) **Created:** 4/8/2025 **Status:** ✅ Merged **Merged:** 6/4/2025 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`3635fd5`](https://github.com/ollama/ollama/commit/3635fd5cf4a52565af4f14c09bde204a6595246f) add Capabilities row to the api/tag - [`03454eb`](https://github.com/ollama/ollama/commit/03454eb9a2a57e4a9737bb6faa733c5c3e2859ea) Merge branch 'ollama:main' into main - [`7cd393e`](https://github.com/ollama/ollama/commit/7cd393e0b7fa82aca25e52e2bf028d364596a5c2) add Capabilities row to the api/tag - [`f6c7411`](https://github.com/ollama/ollama/commit/f6c74116944c4db11ce50f28b7bfaa8387465527) Merge branch 'ollama:main' into main - [`47c0b0b`](https://github.com/ollama/ollama/commit/47c0b0b7c0c16207787f232a802020fa8149ccd2) Update server/routes.go - [`1762115`](https://github.com/ollama/ollama/commit/176211545e25b03b41914edf8a0b99d4563a4a49) Merge branch 'ollama:main' into main - [`59cbdb9`](https://github.com/ollama/ollama/commit/59cbdb966ec15d475fcb8862339c378c43c4e0b8) Merge branch 'ollama:main' into main - [`5e0328b`](https://github.com/ollama/ollama/commit/5e0328b4e224dbc19250bd6bc40d566f9f3f3e6c) docs - [`e993330`](https://github.com/ollama/ollama/commit/e9933309c8e412ff5cda605f876291690843c32f) docs - [`58979eb`](https://github.com/ollama/ollama/commit/58979eb45bd78ce4a051018af9d330c56678dd56) Merge branch 'main' into main ### 📊 Changes **3 files changed** (+37 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `api/types.go` (+7 -6) 📝 `docs/api.md` (+19 -10) 📝 `server/routes.go` (+11 -3) </details> ### 📄 Description This change enhances the api/tag request by adding an additional row for each model's capability information. The solution reuses the GetModel function from the api/show endpoint. This PR addresses the feature request mentioned in #10097. It is believed that no existing test cases will need to be modified. CONTRIBUTING: This PR adds extra capability information to the api/tags API. --- <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 07:53:39 -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#75462