[PR #865] [CLOSED] Allow customizing default session duration through env var. #15637

Closed
opened 2026-04-16 05:03:48 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/865
Author: @JayNakrani
Created: 10/21/2023
Status: Closed

Base: mainHead: jay/allow-customizing-default-session-duration-through-env


📝 Commits (1)

  • cebf2f5 Allow customizing default session duration through env var.

📊 Changes

2 files changed (+50 additions, -3 deletions)

View changed files

📝 server/routes.go (+17 -3)
server/routes_test.go (+33 -0)

📄 Description

This is useful when we want to have LLM sub-process running for longer. It still defaults to the 5 minute period if env var is not specified, or is invalid.

@jmorganca @mchiang0610


🔄 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/865 **Author:** [@JayNakrani](https://github.com/JayNakrani) **Created:** 10/21/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `jay/allow-customizing-default-session-duration-through-env` --- ### 📝 Commits (1) - [`cebf2f5`](https://github.com/ollama/ollama/commit/cebf2f52f0910ecc78e40f55b4c930a285118ac4) Allow customizing default session duration through env var. ### 📊 Changes **2 files changed** (+50 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `server/routes.go` (+17 -3) ➕ `server/routes_test.go` (+33 -0) </details> ### 📄 Description This is useful when we want to have LLM sub-process running for longer. It still defaults to the 5 minute period if env var is not specified, or is invalid. @jmorganca @mchiang0610 --- <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-16 05:03: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#15637