]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
cli: fix model params not propagated (#23893)
authortherealkenc <redacted>
Fri, 5 Jun 2026 15:29:41 +0000 (08:29 -0700)
committerGitHub <redacted>
Fri, 5 Jun 2026 15:29:41 +0000 (17:29 +0200)
Fixes #23847

tools/cli/cli.cpp

index af40adbb4cec729bd8414cb5d345f7f866809b86..e830f262de2b77859c50d9f1083dded3e9105ec7 100644 (file)
@@ -397,6 +397,8 @@ int llama_cli(int argc, char ** argv) {
         return 1;
     }
 
+    ctx_cli.defaults.sampling = params.sampling;
+
     console::spinner::stop();
     console::log("\n");