Переглянути джерело

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

Co-authored-by: Pier Francesco Contino <pfcontino@gmail.com>
Pier Francesco Contino 1 рік тому
батько
коміт
531324a9be
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      cmd/cmd.go

+ 1 - 0
cmd/cmd.go

@@ -976,6 +976,7 @@ Environment Variables:
     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")
     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{
 	pullCmd := &cobra.Command{