[PR #474] [MERGED] add show command #20712

Closed
opened 2026-04-19 15:12:43 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/474
Author: @pdevine
Created: 9/6/2023
Status: Merged
Merged: 9/6/2023
Merged by: @pdevine

Base: mainHead: inspect


📝 Commits (2)

📊 Changes

5 files changed (+299 additions, -50 deletions)

View changed files

📝 api/client.go (+8 -0)
📝 api/types.go (+12 -0)
📝 cmd/cmd.go (+108 -41)
📝 server/images.go (+98 -9)
📝 server/routes.go (+73 -0)

📄 Description

This change adds the ability to inspect various parts of a given model. It adds functionality from both the CLI (via the ollama show command) and through the REPL (through the various /show ... commands).


🔄 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/474 **Author:** [@pdevine](https://github.com/pdevine) **Created:** 9/6/2023 **Status:** ✅ Merged **Merged:** 9/6/2023 **Merged by:** [@pdevine](https://github.com/pdevine) **Base:** `main` ← **Head:** `inspect` --- ### 📝 Commits (2) - [`5adfe1d`](https://github.com/ollama/ollama/commit/5adfe1dc1623d47bbf13baaccb8c281d609d2a0a) add show command - [`1b99c24`](https://github.com/ollama/ollama/commit/1b99c244455d34b7f9a3704dde406cfbadf36f9c) return all show data ### 📊 Changes **5 files changed** (+299 additions, -50 deletions) <details> <summary>View changed files</summary> 📝 `api/client.go` (+8 -0) 📝 `api/types.go` (+12 -0) 📝 `cmd/cmd.go` (+108 -41) 📝 `server/images.go` (+98 -9) 📝 `server/routes.go` (+73 -0) </details> ### 📄 Description This change adds the ability to inspect various parts of a given model. It adds functionality from both the CLI (via the `ollama show` command) and through the REPL (through the various `/show ...` commands). --- <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-19 15:12:43 -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#20712