add OLLAMA_KEEP_ALIVE to environment variable docs for ollama serve (#3127)

This commit is contained in:
Jeffrey Morgan 2024-03-13 14:35:33 -07:00 committed by GitHub
parent 47cfe58af5
commit 672ffe9b7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -973,6 +973,7 @@ Environment Variables:
OLLAMA_HOST The host:port to bind to (default "127.0.0.1:11434") OLLAMA_HOST The host:port to bind to (default "127.0.0.1:11434")
OLLAMA_ORIGINS A comma separated list of allowed origins. OLLAMA_ORIGINS A comma separated list of allowed origins.
OLLAMA_MODELS The path to the models directory (default is "~/.ollama/models") OLLAMA_MODELS The path to the models directory (default is "~/.ollama/models")
OLLAMA_KEEP_ALIVE The duration that models stay loaded in memory (default is "5m")
`) `)
pullCmd := &cobra.Command{ pullCmd := &cobra.Command{