mirror of
https://github.com/LukeHagar/LocalAI.git
synced 2025-12-09 20:47:46 +00:00
refactor: drop code dups (#234)
This commit is contained in:
committed by
GitHub
parent
59e3c02002
commit
85f0f8227d
@@ -285,5 +285,10 @@ func readConfig(cm ConfigMerger, c *fiber.Ctx, loader *model.ModelLoader, debug
|
||||
}
|
||||
}
|
||||
|
||||
// Enforce debug flag if passed from CLI
|
||||
if debug {
|
||||
config.Debug = true
|
||||
}
|
||||
|
||||
return config, input, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user