[PR #14055] [MERGED] cmd: open browser on ollama signin when available #40361

Closed
opened 2026-04-23 01:16:26 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14055
Author: @BruceMacD
Created: 2/3/2026
Status: Merged
Merged: 2/4/2026
Merged by: @BruceMacD

Base: mainHead: brucemacd/signin-open


📝 Commits (2)

  • b9294b5 cmd: open browser on ollama signin when available
  • 6ef775d tidy

📊 Changes

3 files changed (+7 additions, -1 deletions)

View changed files

📝 cmd/cmd.go (+3 -1)
📝 go.mod (+1 -0)
📝 go.sum (+3 -0)

📄 Description

When a browser is available open it to the connect URL automatically when running the ollama signin command. Browser is not opened in any other unauthorized scenario.

❯ ollama signin
You need to be signed in to Ollama to run Cloud models.

If your browser did not open, navigate to:
    https://ollama.com/connect?name=aaa&key=bbb

🔄 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/14055 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 2/3/2026 **Status:** ✅ Merged **Merged:** 2/4/2026 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `brucemacd/signin-open` --- ### 📝 Commits (2) - [`b9294b5`](https://github.com/ollama/ollama/commit/b9294b5801d15e5e5ff6738005e3dafaa6944560) cmd: open browser on `ollama signin` when available - [`6ef775d`](https://github.com/ollama/ollama/commit/6ef775d4ac7fd713a7389420a8eecd894c4262ae) tidy ### 📊 Changes **3 files changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+3 -1) 📝 `go.mod` (+1 -0) 📝 `go.sum` (+3 -0) </details> ### 📄 Description When a browser is available open it to the connect URL automatically when running the `ollama signin` command. Browser is not opened in any other unauthorized scenario. ```bash ❯ ollama signin You need to be signed in to Ollama to run Cloud models. If your browser did not open, navigate to: https://ollama.com/connect?name=aaa&key=bbb ``` --- <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-23 01:16:26 -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#40361