[PR #14344] [MERGED] cmd: openclaw onboarding #25172

Closed
opened 2026-04-19 18:03:06 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

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

Base: mainHead: parth-openclaw-improvements


📝 Commits (1)

📊 Changes

8 files changed (+1471 additions, -114 deletions)

View changed files

📝 cmd/cmd.go (+4 -0)
📝 cmd/config/config.go (+36 -15)
📝 cmd/config/integrations.go (+29 -0)
📝 cmd/config/openclaw.go (+621 -60)
📝 cmd/config/openclaw_test.go (+720 -9)
📝 cmd/config/selector.go (+5 -4)
📝 cmd/tui/tui.go (+15 -3)
📝 docs/integrations/openclaw.mdx (+41 -23)

📄 Description

First Launch:

  • Security consent prompt before running
  • Non-interactive onboarding with specific flags
  • Patches device scopes to work around a bug
  • Installs gateway as background daemon
  • Drops user into TUI with bootstrap message and quick-start tips
  • Installs ollama web search package when cloud models are enabled

Subsequent Launches:

  • Restarts gateway daemon to apply config changes
  • Clears session model overrides so picker changes persist
  • Falls back to child process if daemon not running
  • Launches TUI directly (no bootstrap)

Config/Provider Changes:

  • Switches from OpenAI-compat API to native Ollama /api/chat (fixes image interleaving)
  • Fixes cloud model capability detection (vision/thinking)
  • Adds 5s timeout on client.Show() to prevent hanging
  • Scrubs provider API keys from environment
  • Tracks first-launch state with new Onboarded field

🔄 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/14344 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 2/21/2026 **Status:** ✅ Merged **Merged:** 2/21/2026 **Merged by:** [@ParthSareen](https://github.com/ParthSareen) **Base:** `main` ← **Head:** `parth-openclaw-improvements` --- ### 📝 Commits (1) - [`89c68ca`](https://github.com/ollama/ollama/commit/89c68ca13cf66cfe196ae2ee08114db14cea1973) cmd: openclaw onboarding ### 📊 Changes **8 files changed** (+1471 additions, -114 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+4 -0) 📝 `cmd/config/config.go` (+36 -15) 📝 `cmd/config/integrations.go` (+29 -0) 📝 `cmd/config/openclaw.go` (+621 -60) 📝 `cmd/config/openclaw_test.go` (+720 -9) 📝 `cmd/config/selector.go` (+5 -4) 📝 `cmd/tui/tui.go` (+15 -3) 📝 `docs/integrations/openclaw.mdx` (+41 -23) </details> ### 📄 Description First Launch: - Security consent prompt before running - Non-interactive onboarding with specific flags - Patches device scopes to work around a bug - Installs gateway as background daemon - Drops user into TUI with bootstrap message and quick-start tips - Installs ollama web search package when cloud models are enabled Subsequent Launches: - Restarts gateway daemon to apply config changes - Clears session model overrides so picker changes persist - Falls back to child process if daemon not running - Launches TUI directly (no bootstrap) Config/Provider Changes: - Switches from OpenAI-compat API to native Ollama /api/chat (fixes image interleaving) - Fixes cloud model capability detection (vision/thinking) - Adds 5s timeout on client.Show() to prevent hanging - Scrubs provider API keys from environment - Tracks first-launch state with new Onboarded field --- <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-19 18:03:06 -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#25172