[GH-ISSUE #2267] feat: Support ollama's keep_alive request parameter by overwriting with ENV on ollama serve #63340

Closed
opened 2026-05-03 13:03:05 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @BananaAcid on GitHub (Jan 30, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2267

Originally assigned to: @bmizerany on GitHub.

It would be a great addition to be able to overwrite the keep_alive request param with an env like OLLAMA_KEEP_ALIVE to be overwriting any request to the ollama api server.

Originally created by @BananaAcid on GitHub (Jan 30, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/2267 Originally assigned to: @bmizerany on GitHub. It would be a great addition to be able to overwrite the keep_alive request param with an env like OLLAMA_KEEP_ALIVE to be overwriting any request to the ollama api server.
GiteaMirror added the feature request label 2026-05-03 13:03:05 -05:00
Author
Owner

@uxfion commented on GitHub (Feb 14, 2024):

Really need this feature

<!-- gh-comment-id:1944302217 --> @uxfion commented on GitHub (Feb 14, 2024): Really need this feature
Author
Owner

@pdevine commented on GitHub (Mar 13, 2024):

This is implemented with #3094 . It should be available in release 0.1.29.

<!-- gh-comment-id:1995854593 --> @pdevine commented on GitHub (Mar 13, 2024): This is implemented with #3094 . It should be available in release 0.1.29.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#63340