From 82a9bdccc9b78ba81ddc39af829bb77831db95a2 Mon Sep 17 00:00:00 2001 From: hksdpc255 <43977088+hksdpc255@users.noreply.github.com> Date: Mon, 1 Dec 2025 17:38:33 +0800 Subject: [PATCH] allow_toolcall_in_think is now tested with Kimi-K2 --- common/chat-parser-xml-toolcall.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/chat-parser-xml-toolcall.h b/common/chat-parser-xml-toolcall.h index 67face2b94..b309fb6670 100644 --- a/common/chat-parser-xml-toolcall.h +++ b/common/chat-parser-xml-toolcall.h @@ -31,7 +31,7 @@ struct xml_tool_call_format { std::optional last_val_end = std::nullopt; std::optional last_tool_end = std::nullopt; bool trim_raw_argval = false; - bool allow_toolcall_in_think = false; // TODO: UNTESTED!!! + bool allow_toolcall_in_think = false; }; // make a GBNF that accept any strings except those containing any of the forbidden strings.