Skip to content

Commit 5d6e917

Browse files
committed
log(main): correct number of presets in models.ini
1 parent acbe520 commit 5d6e917

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

goinfer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,9 @@ func writeLlamaIni(cfg *conf.Cfg) {
181181
if err != nil {
182182
slog.Warn("Failed writing the llama.cpp config", "file", conf.ModelsINI, "error", err)
183183
} else if wrote {
184-
slog.Info("Wrote llama.cpp config", "file", conf.ModelsINI, "models", len(cfg.Swap.Models))
184+
slog.Info("Wrote llama.cpp config", "file", conf.ModelsINI, "presets", len(cfg.Info))
185185
} else {
186-
slog.Info("Unchanged content => do not write llama.cpp config", "file", conf.ModelsINI, "models", len(cfg.Swap.Models))
186+
slog.Info("Unchanged content => do not write llama.cpp config", "file", conf.ModelsINI, "presets", len(cfg.Info))
187187
}
188188
}
189189

0 commit comments

Comments
 (0)