[PR #15589] [MERGED] launch/openclaw: fix --yes flag behaviour to skip channels configuration #20443

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/15589
Author: @hoyyeva
Created: 4/14/2026
Status: Merged
Merged: 4/14/2026
Merged by: @hoyyeva

Base: mainHead: hoyyeva/fix-yes-flag-channel-setup-skip


📝 Commits (2)

  • bc56f50 launch/openclaw: fix --yes flag behaviour to skip channels configuration
  • 2690109 clean up

📊 Changes

2 files changed (+45 additions, -0 deletions)

View changed files

📝 cmd/launch/openclaw.go (+5 -0)
📝 cmd/launch/openclaw_test.go (+40 -0)

📄 Description

  • ollama launch openclaw --yes was getting stuck at the "Connect a channel?" prompt when no channel was pre-configured. --yes auto-approved the prompt, which spawned the interactive openclaw channels add picker — the opposite of headless behaviour.
  • Skip the channel preflight entirely when --yes is set. Users can run openclaw channels add manually when they want to configure a channel.

fixed: #15520


🔄 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/15589 **Author:** [@hoyyeva](https://github.com/hoyyeva) **Created:** 4/14/2026 **Status:** ✅ Merged **Merged:** 4/14/2026 **Merged by:** [@hoyyeva](https://github.com/hoyyeva) **Base:** `main` ← **Head:** `hoyyeva/fix-yes-flag-channel-setup-skip` --- ### 📝 Commits (2) - [`bc56f50`](https://github.com/ollama/ollama/commit/bc56f500f8ca2e472fbe154c1116de9db5d0fc23) launch/openclaw: fix --yes flag behaviour to skip channels configuration - [`2690109`](https://github.com/ollama/ollama/commit/269010971a56a6ad7767ce54db8f74a42dd61339) clean up ### 📊 Changes **2 files changed** (+45 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `cmd/launch/openclaw.go` (+5 -0) 📝 `cmd/launch/openclaw_test.go` (+40 -0) </details> ### 📄 Description - `ollama launch openclaw --yes` was getting stuck at the "Connect a channel?" prompt when no channel was pre-configured. `--yes` auto-approved the prompt, which spawned the interactive openclaw channels add picker — the opposite of headless behaviour. - Skip the channel preflight entirely when `--yes` is set. Users can run openclaw channels add manually when they want to configure a channel. fixed: #15520 --- <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:38: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#20443