[PR #15637] [MERGED] cmd/launch: show WSL guidance on Windows instead of handing off #77539

Closed
opened 2026-05-05 10:12:57 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/15637
Author: @ParthSareen
Created: 4/16/2026
Status: Merged
Merged: 4/17/2026
Merged by: @ParthSareen

Base: mainHead: parth-simplify-hermes-install-wsl


📝 Commits (1)

  • 3747872 cmd/launch: show WSL guidance on Windows instead of handing off

📊 Changes

2 files changed (+44 additions, -453 deletions)

View changed files

📝 cmd/launch/hermes.go (+33 -316)
📝 cmd/launch/hermes_test.go (+11 -137)

📄 Description

Windows launch previously detected wsl.exe, prompted to install Hermes inside WSL, and then shelled every invocation through wsl.exe. Reading and writing the Hermes config across the boundary was fragile and the backup step mixed Windows temp paths with WSL config paths.

Drop the handoff. On Windows, show a clean message pointing at wsl --install and the installer docs, and instruct the user to re-run from inside their WSL shell. Collapse the now-single-implementation binary lookup, config IO, and gateway helpers into straight-line code.


🔄 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/15637 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 4/16/2026 **Status:** ✅ Merged **Merged:** 4/17/2026 **Merged by:** [@ParthSareen](https://github.com/ParthSareen) **Base:** `main` ← **Head:** `parth-simplify-hermes-install-wsl` --- ### 📝 Commits (1) - [`3747872`](https://github.com/ollama/ollama/commit/37478727d5379dd635e07e6a8b641a17c2df5f96) cmd/launch: show WSL guidance on Windows instead of handing off ### 📊 Changes **2 files changed** (+44 additions, -453 deletions) <details> <summary>View changed files</summary> 📝 `cmd/launch/hermes.go` (+33 -316) 📝 `cmd/launch/hermes_test.go` (+11 -137) </details> ### 📄 Description Windows launch previously detected wsl.exe, prompted to install Hermes inside WSL, and then shelled every invocation through wsl.exe. Reading and writing the Hermes config across the boundary was fragile and the backup step mixed Windows temp paths with WSL config paths. Drop the handoff. On Windows, show a clean message pointing at wsl --install and the installer docs, and instruct the user to re-run from inside their WSL shell. Collapse the now-single-implementation binary lookup, config IO, and gateway helpers into straight-line code. --- <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-05-05 10:12:57 -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#77539