]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
cli: add EOT when user hit Ctrl+C (#8296)
authorXuan Son Nguyen <redacted>
Thu, 4 Jul 2024 18:55:03 +0000 (20:55 +0200)
committerGitHub <redacted>
Thu, 4 Jul 2024 18:55:03 +0000 (20:55 +0200)
commita38b884c6c4b0c256583acfaaabdf556c62fabea
tree464d15fe031d41fe3378c49e4e6825829664b75d
parentd7fd29fff16456ce9c3a23fd2d09a66256b05aff
cli: add EOT when user hit Ctrl+C (#8296)

* main: add need_insert_eot

* do not format system prompt if it is empty
common/common.cpp
examples/main/main.cpp