[GH-ISSUE #4649] Settings File In Addition to Environment Flags #64958

Closed
opened 2026-05-03 19:24:45 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @chigkim on GitHub (May 26, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4649

Now there are quite a few features relying on environment variable.
Can we have a way to control those features using settings file like ~/.ollama/settings.yaml for in MacOS?

OLLAMA_HOST: "0.0.0.0"
OLLAMA_NOHISTORY: true
OLLAMA_FLASH_ATTENTION: true
OLLAMA_NUM_PARALLEL: 4
OLLAMA_MAX_LOADED: 2

Thanks!

Originally created by @chigkim on GitHub (May 26, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4649 Now there are quite a few features relying on environment variable. Can we have a way to control those features using settings file like ~/.ollama/settings.yaml for in MacOS? ```yaml OLLAMA_HOST: "0.0.0.0" OLLAMA_NOHISTORY: true OLLAMA_FLASH_ATTENTION: true OLLAMA_NUM_PARALLEL: 4 OLLAMA_MAX_LOADED: 2 ``` Thanks!
GiteaMirror added the feature request label 2026-05-03 19:24:45 -05:00
Author
Owner

@dhiltgen commented on GitHub (May 31, 2024):

Tracked in issue #204

<!-- gh-comment-id:2142899253 --> @dhiltgen commented on GitHub (May 31, 2024): Tracked in issue #204
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#64958