[PR #6579] [MERGED] fix(cmd): show info may have nil ModelInfo #12156

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/6579
Author: @vimalk78
Created: 8/31/2024
Status: Merged
Merged: 9/1/2024
Merged by: @jmorganca

Base: mainHead: fix-show-info


📝 Commits (1)

  • 778d827 fix(cmd): show info may have nil ModelInfo

📊 Changes

1 file changed (+8 additions, -5 deletions)

View changed files

📝 cmd/cmd.go (+8 -5)

📄 Description

add a nil check for ModelInfo
fixes: #6578


🔄 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/6579 **Author:** [@vimalk78](https://github.com/vimalk78) **Created:** 8/31/2024 **Status:** ✅ Merged **Merged:** 9/1/2024 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `fix-show-info` --- ### 📝 Commits (1) - [`778d827`](https://github.com/ollama/ollama/commit/778d827d6f8d9796c0119aa7cad751f988a045f1) fix(cmd): show info may have nil ModelInfo ### 📊 Changes **1 file changed** (+8 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+8 -5) </details> ### 📄 Description add a `nil` check for `ModelInfo` fixes: #6578 --- <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:50:51 -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#12156