[PR #6028] [CLOSED] feat(server): remove hardcode gin mode #74287

Closed
opened 2026-05-05 06:18:48 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/6028
Author: @haunt98
Created: 7/28/2024
Status: Closed

Base: mainHead: gin-release


📝 Commits (1)

  • e30825a feat(server): remove hardcode gin mode

📊 Changes

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

View changed files

📝 server/routes.go (+0 -14)

📄 Description

Respect GIN_MODE=release env, I think we shouldn't hardcode debug mode, leave the config for users.


🔄 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/6028 **Author:** [@haunt98](https://github.com/haunt98) **Created:** 7/28/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `gin-release` --- ### 📝 Commits (1) - [`e30825a`](https://github.com/ollama/ollama/commit/e30825aa258c4328cc58c1544d392f3063ed5b75) feat(server): remove hardcode gin mode ### 📊 Changes **1 file changed** (+0 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `server/routes.go` (+0 -14) </details> ### 📄 Description Respect `GIN_MODE=release` env, I think we shouldn't hardcode debug mode, leave the config for users. --- <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-05-05 06:18:48 -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#74287