[PR #14113] [MERGED] cmd/config: offer to pull missing models instead of erroring #14523

Closed
opened 2026-04-13 00:56:44 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14113
Author: @ParthSareen
Created: 2/6/2026
Status: Merged
Merged: 2/6/2026
Merged by: @ParthSareen

Base: mainHead: parth-pull-local-if-not-found


📝 Commits (1)

  • 3d140a1 cmd/config: offer to pull missing models instead of erroring

📊 Changes

2 files changed (+174 additions, -7 deletions)

View changed files

📝 cmd/config/integrations.go (+36 -7)
📝 cmd/config/integrations_test.go (+138 -0)

📄 Description

When a user runs ollama launch --model and the model isn't found locally, we now prompt "Download X?" instead of returning a hard error.


🔄 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/14113 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 2/6/2026 **Status:** ✅ Merged **Merged:** 2/6/2026 **Merged by:** [@ParthSareen](https://github.com/ParthSareen) **Base:** `main` ← **Head:** `parth-pull-local-if-not-found` --- ### 📝 Commits (1) - [`3d140a1`](https://github.com/ollama/ollama/commit/3d140a1f9f5748a1515293d03915890fdd87e8e6) cmd/config: offer to pull missing models instead of erroring ### 📊 Changes **2 files changed** (+174 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `cmd/config/integrations.go` (+36 -7) 📝 `cmd/config/integrations_test.go` (+138 -0) </details> ### 📄 Description When a user runs ollama launch <integration> --model <model> and the model isn't found locally, we now prompt "Download X?" instead of returning a hard error. --- <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-13 00:56:44 -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#14523