Skip to content

Commit f8360c7

Browse files
committed
Update chat.cpp
1 parent 8894aa7 commit f8360c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/chat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ static common_chat_params common_chat_params_init_qwen3(const common_chat_templa
10681068
{"enable_thinking", inputs.enable_thinking},
10691069
};
10701070

1071-
data.prompt = apply(tmpl, inputs.messages, inputs.tools.empty() ? json() : inputs.tools, inputs.add_generation_prompt, additional_context);
1071+
data.prompt = apply(tmpl, inputs);
10721072
data.format = COMMON_CHAT_FORMAT_QWEN3;
10731073
if (string_ends_with(data.prompt, "<think>\n")) {
10741074
if (!inputs.enable_thinking) {

0 commit comments

Comments
 (0)