]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
common : skip empty implicit default preset (#25643)
authorhogeheer499-commits <redacted>
Sat, 25 Jul 2026 19:15:27 +0000 (21:15 +0200)
committerGitHub <redacted>
Sat, 25 Jul 2026 19:15:27 +0000 (21:15 +0200)
commitc812c543f8ab480661bd10b9546515b608b4747f
tree3d39db30cd728c98d9814206d7a5ebb36834b482
parentabc348790edeb93ce1f9c6869c4fd6a07ca77d64
common : skip empty implicit default preset (#25643)

The INI parser creates an implicit default section for top-level metadata.
After reserved keys such as `version` are skipped, that section can have no
model options but was still added and exposed in router mode.

Skip only the empty implicit default while preserving real default presets,
named presets, and the global `[*]` settings.

Signed-off-by: JS van Dijk <redacted>
Co-authored-by: JS van Dijk <redacted>
common/preset.cpp