Skip to content

Commit

Permalink
fix: previous CLI rework broke debug logging (mudler#2036)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Jowett <[email protected]>
Co-authored-by: Dave <[email protected]>
  • Loading branch information
cryptk and dave-gray101 authored Apr 15, 2024
1 parent c751a4a commit 538a086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/cli/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 538a086

Please sign in to comment.