[PR #4821] [MERGED] fix: use envconfig.ModelsDir directly #11593

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/4821
Author: @abitrolly
Created: 6/4/2024
Status: Merged
Merged: 7/3/2024
Merged by: @pdevine

Base: mainHead: model-envconfig


📝 Commits (1)

  • 2923a65 fix: use envconfig.ModelsDir directly

📊 Changes

2 files changed (+5 additions, -20 deletions)

View changed files

📝 envconfig/config.go (+2 -2)
📝 server/modelpath.go (+3 -18)

📄 Description

This removes noop helper function.


🔄 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/4821 **Author:** [@abitrolly](https://github.com/abitrolly) **Created:** 6/4/2024 **Status:** ✅ Merged **Merged:** 7/3/2024 **Merged by:** [@pdevine](https://github.com/pdevine) **Base:** `main` ← **Head:** `model-envconfig` --- ### 📝 Commits (1) - [`2923a65`](https://github.com/ollama/ollama/commit/2923a65bd4b8a3ca0a90ca4117cb502937d2b4a4) fix: use `envconfig.ModelsDir` directly ### 📊 Changes **2 files changed** (+5 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `envconfig/config.go` (+2 -2) 📝 `server/modelpath.go` (+3 -18) </details> ### 📄 Description This removes noop helper function. --- <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:33:02 -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#11593