[PR #14035] [MERGED] cmd: launch defaults #19750

Closed
opened 2026-04-16 07:15:09 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

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

Base: mainHead: parth-launch-defaults


📝 Commits (5)

  • a21f6e9 cmd: launch default models
  • d86cd49 launch: add recommended models with install flow and sorting
  • 11a1b55 revert doc changes for recommended models
  • 807374d add min vram for glm-4.7-flash
  • 379cd8c Add qwen3

📊 Changes

3 files changed (+409 additions, -51 deletions)

View changed files

📝 cmd/config/integrations.go (+187 -45)
📝 cmd/config/integrations_test.go (+215 -4)
📝 cmd/config/selector.go (+7 -2)

📄 Description

  1. Collect existing models from client.List() — strip :latest from display names, track which are remote (cloud) vs local
  2. Tag existing models that match a recommendation with "recommended" description
  3. Append recommended models not already present (checking both name and name:latest), with "recommended" description
  4. Mark non-installed models with "recommended, install?" description (overrides the "recommended" set in step 3)
  5. Sort:
    - No existing models: preserve recommended order (glm-4.7-flash, glm-4.7:cloud, kimi-k2.5:cloud)
    - Has existing models: checked (pre-configured) first, then installed models alphabetically, then non-installed models at the bottom alphabetically
  6. After selection: prompt "Download X?" for any non-installed selected models, then pull them
  7. Cloud sign-in: if any selected models are cloud, prompt for sign-in if not already authenticated

🔄 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/14035 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 2/2/2026 **Status:** ✅ Merged **Merged:** 2/3/2026 **Merged by:** [@ParthSareen](https://github.com/ParthSareen) **Base:** `main` ← **Head:** `parth-launch-defaults` --- ### 📝 Commits (5) - [`a21f6e9`](https://github.com/ollama/ollama/commit/a21f6e9bf6fb4b838a931bbac9dec02bb14a1884) cmd: launch default models - [`d86cd49`](https://github.com/ollama/ollama/commit/d86cd49261faa108f26a737908a240d3484acbc6) launch: add recommended models with install flow and sorting - [`11a1b55`](https://github.com/ollama/ollama/commit/11a1b55f44d9e7247f2f29b69c376db2096a91b5) revert doc changes for recommended models - [`807374d`](https://github.com/ollama/ollama/commit/807374d97903651243063bb1b2dc25c60b065a91) add min vram for glm-4.7-flash - [`379cd8c`](https://github.com/ollama/ollama/commit/379cd8c45b725221875d0cb9b41f733964c81a76) Add qwen3 ### 📊 Changes **3 files changed** (+409 additions, -51 deletions) <details> <summary>View changed files</summary> 📝 `cmd/config/integrations.go` (+187 -45) 📝 `cmd/config/integrations_test.go` (+215 -4) 📝 `cmd/config/selector.go` (+7 -2) </details> ### 📄 Description 1. Collect existing models from client.List() — strip :latest from display names, track which are remote (cloud) vs local 2. Tag existing models that match a recommendation with "recommended" description 3. Append recommended models not already present (checking both name and name:latest), with "recommended" description 4. Mark non-installed models with "recommended, install?" description (overrides the "recommended" set in step 3) 5. Sort: - No existing models: preserve recommended order (glm-4.7-flash, glm-4.7:cloud, kimi-k2.5:cloud) - Has existing models: checked (pre-configured) first, then installed models alphabetically, then non-installed models at the bottom alphabetically 6. After selection: prompt "Download X?" for any non-installed selected models, then pull them 7. Cloud sign-in: if any selected models are cloud, prompt for sign-in if not already authenticated --- <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-16 07:15:09 -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#19750