Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
allow_toolcall_in_think is now tested with Kimi-K2
  • Loading branch information
hksdpc255 authored Dec 1, 2025
commit 82a9bdccc9b78ba81ddc39af829bb77831db95a2
2 changes: 1 addition & 1 deletion common/chat-parser-xml-toolcall.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ struct xml_tool_call_format {
std::optional<std::string> last_val_end = std::nullopt;
std::optional<std::string> 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.
Expand Down