[PR #6243] [CLOSED] get api models #12062

Closed
opened 2026-04-12 23:48:18 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/6243
Author: @mxyng
Created: 8/7/2024
Status: Closed

Base: mainHead: mxyng/api-models


📝 Commits (1)

📊 Changes

2 files changed (+153 additions, -1 deletions)

View changed files

📝 server/manifest.go (+3 -1)
📝 server/routes.go (+150 -0)

📄 Description

implement a more restful models api starting with GET /api/models and GET /api/models/{name} which aims to replace GET /api/tags and POST /api/show respectively


🔄 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/6243 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 8/7/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `mxyng/api-models` --- ### 📝 Commits (1) - [`2fe9454`](https://github.com/ollama/ollama/commit/2fe945412ae3b400f8491b9834cbfb7b254263df) get api models ### 📊 Changes **2 files changed** (+153 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `server/manifest.go` (+3 -1) 📝 `server/routes.go` (+150 -0) </details> ### 📄 Description implement a more restful models api starting with `GET /api/models` and `GET /api/models/{name}` which aims to replace `GET /api/tags` and `POST /api/show` respectively --- <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-12 23:48:18 -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#12062