mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-20 21:23:10 +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
@ -60,7 +60,7 @@ func (r *RunCMD) Run(ctx *Context) error {
|
|||||||
config.WithYAMLConfigPreload(r.PreloadModelsConfig),
|
config.WithYAMLConfigPreload(r.PreloadModelsConfig),
|
||||||
config.WithModelPath(r.ModelsPath),
|
config.WithModelPath(r.ModelsPath),
|
||||||
config.WithContextSize(r.ContextSize),
|
config.WithContextSize(r.ContextSize),
|
||||||
config.WithDebug(ctx.Debug),
|
config.WithDebug(*ctx.LogLevel == "debug"),
|
||||||
config.WithImageDir(r.ImagePath),
|
config.WithImageDir(r.ImagePath),
|
||||||
config.WithAudioDir(r.AudioPath),
|
config.WithAudioDir(r.AudioPath),
|
||||||
config.WithUploadDir(r.UploadPath),
|
config.WithUploadDir(r.UploadPath),
|
||||||
|
Loading…
Reference in New Issue
Block a user