]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
common : fix reasoning before forced tool call via tool_choice = required (#16264)
authorcrat0z <redacted>
Sun, 28 Sep 2025 18:13:50 +0000 (14:13 -0400)
committerGitHub <redacted>
Sun, 28 Sep 2025 18:13:50 +0000 (21:13 +0300)
commitbd0af02fc96c2057726f33c0f0daf7bb8f3e462a
treeb04ebf0ca809e1753f5ff53fa7f476b5edaf70c0
parentd9e0e7c8194dfd7d23bf3a86608c9ece68d77c93
common : fix reasoning before forced tool call via tool_choice = required (#16264)

* common : fix reasoning before forced tool call via tool_choice = required

* common : improve reasoning and commentary handling when tool_choice is required

(cherry picked from commit c746984956d6882c2de73d53ae2bb3bdf889e475)

---------

Co-authored-by: Alde Rojas <redacted>
common/chat.cpp