]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
main: allow preloading conversation with -p and add -st / --single-turn (#12145)
authorSigbjørn Skjæret <redacted>
Tue, 4 Mar 2025 16:19:39 +0000 (17:19 +0100)
committerGitHub <redacted>
Tue, 4 Mar 2025 16:19:39 +0000 (12:19 -0400)
commit56d7a9f81274717fe035db192f315a049261c7fa
tree8c6074bf200210ad3540285ec062eb44def49966
parent1a24c4621f0280306b0d53a4fa474fc65d3f1b2e
main: allow preloading conversation with -p and add -st / --single-turn (#12145)

* Add chat template formatting to -no-cnv

* only enable prompt formatting if explicitly enabled

* add -st / --single-turn

* add --single-turn and -p in conversation mode

* fix -sys + -p

* reword warning

* small readability change and fix (long) outdated example usage

* only activate single turn in conversation mode
common/arg.cpp
common/common.h
examples/main/main.cpp