]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
common/autoparser: fixes for newline handling / forced tool calls (#22654)
authorPiotr Wilkin (ilintar) <redacted>
Mon, 4 May 2026 11:18:11 +0000 (13:18 +0200)
committerGitHub <redacted>
Mon, 4 May 2026 11:18:11 +0000 (13:18 +0200)
commita4701c98f72160144b101090596c7ea1ef0c1d7b
tree3bd598f3c77bea91334376176910fe71e4b2bbe4
parent994118a1831fdede28ee2d228e0570db9b728c45
common/autoparser: fixes for newline handling / forced tool calls (#22654)

* chat/autoparser: the fixes

* Move optspace() to chat-peg-parser, comment out server tests invalidated due to content now allowed with forced tool calls.

* Trim whitespace on apply instead
common/chat-auto-parser-generator.cpp
common/chat-diff-analyzer.cpp
common/chat-peg-parser.cpp
common/chat-peg-parser.h
common/chat.cpp
common/reasoning-budget.cpp
scripts/server-test-function-call.py
tests/test-chat.cpp
tests/test-reasoning-budget.cpp
tools/server/tests/unit/test_tool_call.py