mirror of
https://github.com/ollama/ollama.git
synced 2025-11-11 16:27:02 +01:00
rfc: dynamic environ lookup
This commit is contained in:
@@ -1093,7 +1093,7 @@ func (s *Server) GenerateRoutes() http.Handler {
|
||||
|
||||
func Serve(ln net.Listener) error {
|
||||
level := slog.LevelInfo
|
||||
if envconfig.Debug {
|
||||
if envconfig.Debug() {
|
||||
level = slog.LevelDebug
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user