[PR #14034] [MERGED] cmd/config: move config location #14478

Closed
opened 2026-04-13 00:55:23 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

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

Base: mainHead: parth-launch-config-location


📝 Commits (3)

  • f91ef35 cmd/config: move config from ~/.ollama/config/config.json to ~/.ollama/config.json
  • 9ee1f41 cmd/config: add migration edge case tests
  • 73bf1f7 cmd/config: simplify migration by removing backup step

📊 Changes

2 files changed (+233 additions, -4 deletions)

View changed files

📝 cmd/config/config.go (+54 -0)
📝 cmd/config/config_test.go (+179 -4)

📄 Description

Moved from ~/.ollama/config/config.json to ~/.ollama/config.json


🔄 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/14034 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 2/2/2026 **Status:** ✅ Merged **Merged:** 2/3/2026 **Merged by:** [@ParthSareen](https://github.com/ParthSareen) **Base:** `main` ← **Head:** `parth-launch-config-location` --- ### 📝 Commits (3) - [`f91ef35`](https://github.com/ollama/ollama/commit/f91ef3593a3931a697fe4476ca1b1f88035298b0) cmd/config: move config from ~/.ollama/config/config.json to ~/.ollama/config.json - [`9ee1f41`](https://github.com/ollama/ollama/commit/9ee1f41d963b4b875b3ee2021dbda12a6fbdd51a) cmd/config: add migration edge case tests - [`73bf1f7`](https://github.com/ollama/ollama/commit/73bf1f73a5cef05e23ce8cd1bb41f6401cb532e0) cmd/config: simplify migration by removing backup step ### 📊 Changes **2 files changed** (+233 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `cmd/config/config.go` (+54 -0) 📝 `cmd/config/config_test.go` (+179 -4) </details> ### 📄 Description Moved from ~/.ollama/config/config.json to ~/.ollama/config.json --- <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 00:55:23 -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#14478