[PR #7970] server: print environment variables in sorted, one-line #12575

Open
opened 2026-04-13 00:03:38 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/7970
Author: @iseki0
Created: 12/6/2024
Status: 🔄 Open

Base: mainHead: main


📝 Commits (3)

  • 7399f60 server: print environment variables in sorted, one-line
  • 293c97c server: remove the colon, in environment variable logs
  • 353f1f1 server: print the environment variable in group, one-line

📊 Changes

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

View changed files

📝 app/lifecycle/lifecycle.go (+1 -1)
📝 envconfig/config.go (+10 -5)
📝 server/routes.go (+2 -1)

📄 Description

Printing the map directly is difficult to read, especially when some environment variable is excessively long.


🔄 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/7970 **Author:** [@iseki0](https://github.com/iseki0) **Created:** 12/6/2024 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`7399f60`](https://github.com/ollama/ollama/commit/7399f6057e82a47af86d3df3595e3b96d73b217f) server: print environment variables in sorted, one-line - [`293c97c`](https://github.com/ollama/ollama/commit/293c97cececdde263d593497663059f6f82d4cb5) server: remove the colon, in environment variable logs - [`353f1f1`](https://github.com/ollama/ollama/commit/353f1f19ca7d6026a9329480b1204faa4e1bed21) server: print the environment variable in group, one-line ### 📊 Changes **3 files changed** (+13 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `app/lifecycle/lifecycle.go` (+1 -1) 📝 `envconfig/config.go` (+10 -5) 📝 `server/routes.go` (+2 -1) </details> ### 📄 Description Printing the map directly is difficult to read, especially when some environment variable is excessively long. --- <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:03:38 -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#12575