Skip to content

Commit ff78c90

Browse files
committed
fix: trailing whitespace
1 parent e450590 commit ff78c90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

common/chat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1706,7 +1706,7 @@ static common_chat_params common_chat_templates_apply_jinja(
17061706
return common_chat_params_init_phi_4(tmpl, params);
17071707
} else {
17081708
LOG_WRN("[%s] Invalid legacy Phi 4 template detected: switching to Generic tool call format. To enable native support, please restart with `--chat-template-file models/template/microsoft-Phi-4-mini-instruct.jinja`", __func__);
1709-
}
1709+
}
17101710
}
17111711

17121712
// Plain handler (no tools)

examples/server/tests/unit/test_tool_call.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def do_test_weather(server: ServerProcess, **kwargs):
394394
@pytest.mark.slow
395395
@pytest.mark.parametrize("result_override,n_predict,hf_repo,template_override", [
396396
(None, 128, "bartowski/Phi-3.5-mini-instruct-GGUF:Q4_K_M", "chatml"),
397-
# Answers using text, not tools, complaining it wants to measure from the positive Z-axis not x-axis.
397+
# Answers using text, not tools, complaining it wants to measure from the positive Z-axis not x-axis.
398398
# (None, 128, "bartowski/microsoft_Phi-4-mini-instruct-GGUF:Q4_K_M", ("llama-cpp-microsoft-Phi-4-mini-instruct", None)),
399399
(None, 128, "bartowski/microsoft_Phi-4-mini-instruct-GGUF:Q4_K_M", "chatml"),
400400
(None, 128, "bartowski/Qwen2.5-Coder-3B-Instruct-GGUF:Q4_K_M", None),

0 commit comments

Comments
 (0)