[PR #14815] [MERGED] launch: fix headless --yes integration flow and policy scoping #14854

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

📋 Pull Request Information

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

Base: mainHead: parth-pick-last-selected-model-yes-tui


📝 Commits (3)

  • f9a1b7f launch: fix headless --yes integration flow and policy scoping
  • 3a0b68f tests and simplify policy passing
  • 702a685 launch: require --model for headless --yes integration runs

📊 Changes

5 files changed (+320 additions, -60 deletions)

View changed files

📝 cmd/launch/command_test.go (+104 -0)
📝 cmd/launch/launch.go (+44 -46)
📝 cmd/launch/launch_test.go (+166 -0)
📝 cmd/launch/selector_hooks.go (+5 -13)
📝 cmd/launch/selector_test.go (+1 -1)

📄 Description

Wired up some policy changes for how --yes should be used.

Now let's us do ollama launch <app> --yes -- ... to skip model selection and just use previously set model (if any)


🔄 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/14815 **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-pick-last-selected-model-yes-tui` --- ### 📝 Commits (3) - [`f9a1b7f`](https://github.com/ollama/ollama/commit/f9a1b7fe4b798f416906797e963a560969efbc7c) launch: fix headless --yes integration flow and policy scoping - [`3a0b68f`](https://github.com/ollama/ollama/commit/3a0b68f639cfd37d48016d4cf8fdcdd160ae7df3) tests and simplify policy passing - [`702a685`](https://github.com/ollama/ollama/commit/702a685f1fb59ab056e0672f1218abf043c32edf) launch: require --model for headless --yes integration runs ### 📊 Changes **5 files changed** (+320 additions, -60 deletions) <details> <summary>View changed files</summary> 📝 `cmd/launch/command_test.go` (+104 -0) 📝 `cmd/launch/launch.go` (+44 -46) 📝 `cmd/launch/launch_test.go` (+166 -0) 📝 `cmd/launch/selector_hooks.go` (+5 -13) 📝 `cmd/launch/selector_test.go` (+1 -1) </details> ### 📄 Description Wired up some policy changes for how `--yes` should be used. Now let's us do `ollama launch <app> --yes -- ...` to skip model selection and just use previously set model (if any) --- <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:03 -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#14854