]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
cli : persist reasoning_content in chat history (#26362)
authorNico <redacted>
Sat, 1 Aug 2026 16:03:32 +0000 (12:03 -0400)
committerGitHub <redacted>
Sat, 1 Aug 2026 16:03:32 +0000 (18:03 +0200)
commitc629da565c80b0b17fac6262acdca4d772e745d8
tree8f07005a5f367fb85205c54e752758e7fa799fd1
parentde699957b92f490efebad149665b0dccf127eaff
cli : persist reasoning_content in chat history (#26362)

* cli : persist reasoning_content in chat history

llama-cli collected reasoning from the stream for display but only
stored assistant content in messages, so --reasoning-preserve could
not re-inject prior thoughts on later turns.
tools/cli/cli-context.cpp