Skip to content

Commit 45a1c20

Browse files
ochafikggerganov
andauthored
Apply suggestions from code review
Co-authored-by: Georgi Gerganov <[email protected]>
1 parent ed82223 commit 45a1c20

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
@@ -596,7 +596,7 @@ static common_chat_msg common_chat_parse_functionary_v3_2(const std::string & in
596596
res.content = content + res.content;
597597
return res;
598598
} catch (const std::exception & e) {
599-
LOG_ERR("Failed to parse functionary v3.2 input: %s", e.what());
599+
LOG_ERR("Failed to parse functionary v3.2 input: %s\n", e.what());
600600
common_chat_msg res;
601601
res.role = "assistant";
602602
res.content = input;

examples/server/utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ static json oaicompat_completion_params_parse(
641641
inputs.tool_choice = tool_choice;
642642
inputs.parallel_tool_calls = json_value(body, "parallel_tool_calls", false);
643643
if (inputs.parallel_tool_calls && !tmpl.original_caps().supports_parallel_tool_calls) {
644-
LOG_DBG("Disabling parallel_tool_calls because the template does not support it");
644+
LOG_DBG("Disabling parallel_tool_calls because the template does not support it\n");
645645
inputs.parallel_tool_calls = false;
646646
}
647647
inputs.stream = stream;

0 commit comments

Comments
 (0)