]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
cli : Don't clear system prompt when using '/clear' (#20067)
authorRoj234 <redacted>
Fri, 6 Mar 2026 05:41:11 +0000 (13:41 +0800)
committerGitHub <redacted>
Fri, 6 Mar 2026 05:41:11 +0000 (06:41 +0100)
commitf7db3f37895ad3a98405afdb84b42ed462542b12
tree25d9df571ded7787250c0a26f8e0fdf639b8f092
parent6c97bffd6508f4999d5bc292addd4f433a3648bc
cli : Don't clear system prompt when using '/clear' (#20067)

* Enhance /clear command to include system prompt

Add system prompt to messages when clearing chat history.

* Use lambda
tools/cli/cli.cpp