[PR #5009] [MERGED] move OLLAMA_HOST to envconfig #11641

Closed
opened 2026-04-12 23:34:24 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/5009
Author: @pdevine
Created: 6/12/2024
Status: Merged
Merged: 6/12/2024
Merged by: @pdevine

Base: mainHead: pdevine/envhost


📝 Commits (2)

📊 Changes

6 files changed (+119 additions, -103 deletions)

View changed files

📝 api/client.go (+2 -53)
📝 api/client_test.go (+2 -39)
📝 api/types.go (+0 -3)
📝 cmd/cmd.go (+1 -7)
📝 envconfig/config.go (+66 -1)
📝 envconfig/config_test.go (+48 -0)

📄 Description

No description provided


🔄 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/5009 **Author:** [@pdevine](https://github.com/pdevine) **Created:** 6/12/2024 **Status:** ✅ Merged **Merged:** 6/12/2024 **Merged by:** [@pdevine](https://github.com/pdevine) **Base:** `main` ← **Head:** `pdevine/envhost` --- ### 📝 Commits (2) - [`2e7acad`](https://github.com/ollama/ollama/commit/2e7acad7dc52644ce188e45bfe559151906a8c80) move OLLAMA_HOST to envconfig - [`758a88b`](https://github.com/ollama/ollama/commit/758a88be21bb80cbeaddae0bf29fcf1d5d7fe30c) feed the linter ### 📊 Changes **6 files changed** (+119 additions, -103 deletions) <details> <summary>View changed files</summary> 📝 `api/client.go` (+2 -53) 📝 `api/client_test.go` (+2 -39) 📝 `api/types.go` (+0 -3) 📝 `cmd/cmd.go` (+1 -7) 📝 `envconfig/config.go` (+66 -1) 📝 `envconfig/config_test.go` (+48 -0) </details> ### 📄 Description _No description provided_ --- <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-12 23:34:24 -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#11641