Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

feat: add OLLAMA_DEBUG in ollama server help message (#3461)

Pier Francesco Contino531324a9bee6
diff --git a/cmd/cmd.go b/cmd/cmd.go
index 92450031c..6ab802f59 100644
--- a/cmd/cmd.go
+++ b/cmd/cmd.go
@@ -976,6 +976,7 @@ Environment Variables:
OLLAMA_ORIGINS A comma separated list of allowed origins.
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")
+ OLLAMA_DEBUG Set to 1 to enable additional debug logging
`)
pullCmd := &cobra.Command{