[PR #97] [MERGED] add new list command #41232

Closed
opened 2026-04-24 21:09:02 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/97
Author: @pdevine
Created: 7/18/2023
Status: Merged
Merged: 7/18/2023
Merged by: @pdevine

Base: mainHead: list-models


📝 Commits (1)

📊 Changes

10 files changed (+450 additions, -11 deletions)

View changed files

📝 api/client.go (+75 -11)
📝 api/types.go (+23 -0)
📝 cmd/cmd.go (+38 -0)
format/time.go (+141 -0)
format/time_test.go (+102 -0)
📝 go.mod (+2 -0)
📝 go.sum (+5 -0)
📝 server/images.go (+9 -0)
📝 server/modelpath.go (+9 -0)
📝 server/routes.go (+46 -0)

📄 Description

This changes lets you list each of the models which you have pulled locally.


🔄 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/97 **Author:** [@pdevine](https://github.com/pdevine) **Created:** 7/18/2023 **Status:** ✅ Merged **Merged:** 7/18/2023 **Merged by:** [@pdevine](https://github.com/pdevine) **Base:** `main` ← **Head:** `list-models` --- ### 📝 Commits (1) - [`5595259`](https://github.com/ollama/ollama/commit/5595259996bee40f2f07f7b7bb6733c2a7a8f7b8) add new list command ### 📊 Changes **10 files changed** (+450 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `api/client.go` (+75 -11) 📝 `api/types.go` (+23 -0) 📝 `cmd/cmd.go` (+38 -0) ➕ `format/time.go` (+141 -0) ➕ `format/time_test.go` (+102 -0) 📝 `go.mod` (+2 -0) 📝 `go.sum` (+5 -0) 📝 `server/images.go` (+9 -0) 📝 `server/modelpath.go` (+9 -0) 📝 `server/routes.go` (+46 -0) </details> ### 📄 Description This changes lets you list each of the models which you have pulled locally. --- <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-24 21:09:02 -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#41232