Skip to content

Commit 86591c7

Browse files
authored
cli: fix model params not propagated (#23893)
Fixes #23847
1 parent 96fbe00 commit 86591c7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tools/cli/cli.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,8 @@ int llama_cli(int argc, char ** argv) {
397397
return 1;
398398
}
399399

400+
ctx_cli.defaults.sampling = params.sampling;
401+
400402
console::spinner::stop();
401403
console::log("\n");
402404

0 commit comments

Comments
 (0)