Skip to content

Commit 848763c

Browse files
committed
fix: do not override fixed default_model
1 parent 46df06d commit 848763c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

goinfer.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ func doGoinferYML(debug, write, run, noAPIKey bool, extra, start string) *conf.C
106106
}
107107

108108
// read "goinfer.yml" to verify it can be successfully loaded
109-
cfg, er = conf.ReadGoinferYML(noAPIKey, extra, start)
109+
// Pass empty extra and start to keep the eventual fixes.
110+
cfg, er = conf.ReadGoinferYML(noAPIKey, "", "")
110111
if er != nil {
111112
slog.Warn("Please review", "config", conf.GoinferYML, "error", er)
112113
os.Exit(1)

0 commit comments

Comments
 (0)