mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 02:24:59 +00:00
fix: previous CLI rework broke debug logging (#2036)
Signed-off-by: Chris Jowett <421501+cryptk@users.noreply.github.com> Co-authored-by: Dave <dave@gray101.com>
This commit is contained in:
parent
c751a4ac06
commit
538a086309
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ func (r *RunCMD) Run(ctx *Context) error {
|
|||
config.WithYAMLConfigPreload(r.PreloadModelsConfig),
|
||||
config.WithModelPath(r.ModelsPath),
|
||||
config.WithContextSize(r.ContextSize),
|
||||
config.WithDebug(ctx.Debug),
|
||||
config.WithDebug(*ctx.LogLevel == "debug"),
|
||||
config.WithImageDir(r.ImagePath),
|
||||
config.WithAudioDir(r.AudioPath),
|
||||
config.WithUploadDir(r.UploadPath),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue