[PR #4302] [MERGED] only forward some env vars #11447

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/4302
Author: @mxyng
Created: 5/9/2024
Status: Merged
Merged: 5/9/2024
Merged by: @mxyng

Base: mainHead: mxyng/forward-env


📝 Commits (1)

  • ce3b212 only forward some env vars

📊 Changes

1 file changed (+14 additions, -20 deletions)

View changed files

📝 llm/server.go (+14 -20)

📄 Description

only forward select env vars which prevents 1) logging and 2) the subprocess inheriting irrelevant, possibly sensitive, vars


🔄 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/4302 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 5/9/2024 **Status:** ✅ Merged **Merged:** 5/9/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/forward-env` --- ### 📝 Commits (1) - [`ce3b212`](https://github.com/ollama/ollama/commit/ce3b212d124ad24434a0336347f47491c13ad960) only forward some env vars ### 📊 Changes **1 file changed** (+14 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `llm/server.go` (+14 -20) </details> ### 📄 Description only forward select env vars which prevents 1) logging and 2) the subprocess inheriting irrelevant, possibly sensitive, vars --- <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:30:20 -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#11447