We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce28224 commit e84ee88Copy full SHA for e84ee88
common/chat.cpp
@@ -567,8 +567,7 @@ static common_chat_params common_chat_params_init_deepseek_r1(const common_chat_
567
auto args_rule = builder.add_schema(name + "-args", parameters);
568
tool_rules.push_back(builder.add_rule(name + "-call",
569
"\"<|tool▁call▁begin|>function<|tool▁sep|>" + name + "\\n"
570
- "```json\\n\" " + args_rule + " \"```"
571
- "<|tool▁call▁end|>\""));
+ "```json\\n\" " + args_rule + " \"```<|tool▁call▁end|>\""));
572
});
573
// Distill Qwen 7B & 32B models seem confused re/ syntax of their tool call opening tag,
574
// so we accept common variants (then it's all constrained)
0 commit comments