Skip to content

Commit a7f2105

Browse files
committed
Merge branch 'qwen3-coder_tool_call_parser' of https://github.com/bold84/llama.cpp into qwen3-coder_tool_call_parser
2 parents 9b512e4 + e33da80 commit a7f2105

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/chat.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2116,15 +2116,15 @@ static common_chat_params common_chat_params_init_qwen3_coder_xml(const common_c
21162116
if (param_schema.contains("type")) {
21172117
std::string param_type = param_schema["type"];
21182118
if (param_type == "string") {
2119-
param_rule += not_parameter_end + " ";
2119+
param_rule += not_parameter_end;
21202120
} else {
21212121
param_rule += builder.add_schema(name + "-parameter-" + param_name, param_schema);
21222122
}
21232123
} else {
21242124
param_rule += builder.add_schema(name + "-parameter-" + param_name, param_schema);
21252125
}
21262126

2127-
param_rule += "\"</parameter>\" space";
2127+
param_rule += " \"</parameter>\" space";
21282128

21292129
// Parameter is optional
21302130
if (required.find(param_name) == required.end()) {

0 commit comments

Comments
 (0)