[PR #14814] [MERGED] cmd: TUI model ordering #14853

Closed
opened 2026-04-13 01:04:02 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

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

Base: mainHead: parth-tui-model-ordering


📝 Commits (2)

  • ff1443d launch/tui: stabilize model picker ordering and exact model selection
  • ee1f6d8 launch/tui: fix multi-select ordering and default fallback

📊 Changes

6 files changed (+296 additions, -11 deletions)

View changed files

📝 cmd/launch/integrations_test.go (+30 -0)
📝 cmd/launch/launch.go (+13 -2)
📝 cmd/launch/launch_test.go (+122 -0)
📝 cmd/launch/models.go (+17 -4)
📝 cmd/tui/selector.go (+45 -5)
📝 cmd/tui/selector_test.go (+69 -0)

📄 Description

Model ordering was incorrectly relying on checked models (should be static).

When uncheck a model from multi select it will now pick the closest model to it as default


🔄 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/14814 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 3/13/2026 **Status:** ✅ Merged **Merged:** 3/13/2026 **Merged by:** [@ParthSareen](https://github.com/ParthSareen) **Base:** `main` ← **Head:** `parth-tui-model-ordering` --- ### 📝 Commits (2) - [`ff1443d`](https://github.com/ollama/ollama/commit/ff1443d76ed6881f4c9af4e641bedc0262022dfb) launch/tui: stabilize model picker ordering and exact model selection - [`ee1f6d8`](https://github.com/ollama/ollama/commit/ee1f6d8b7d176ce110398f64b7272dbf4dd13b7d) launch/tui: fix multi-select ordering and default fallback ### 📊 Changes **6 files changed** (+296 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `cmd/launch/integrations_test.go` (+30 -0) 📝 `cmd/launch/launch.go` (+13 -2) 📝 `cmd/launch/launch_test.go` (+122 -0) 📝 `cmd/launch/models.go` (+17 -4) 📝 `cmd/tui/selector.go` (+45 -5) 📝 `cmd/tui/selector_test.go` (+69 -0) </details> ### 📄 Description Model ordering was incorrectly relying on checked models (should be static). When uncheck a model from multi select it will now pick the closest model to it as default --- <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 01:04: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#14853