Skip to content

Commit c632b58

Browse files
Apply suggestions from code review
coding standard: cosmetic changes Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
1 parent 2f4ea19 commit c632b58

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

common/chat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ struct common_chat_templates_inputs {
125125
bool parallel_tool_calls = false;
126126
common_reasoning_format reasoning_format = COMMON_REASONING_FORMAT_NONE;
127127
std::chrono::system_clock::time_point now = std::chrono::system_clock::now();
128-
std::map<std::string,std::string> chat_template_kwargs;
128+
std::map<std::string, std::string> chat_template_kwargs;
129129
};
130130

131131
struct common_chat_params {

common/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ struct common_params {
376376
std::string ssl_file_key = ""; // NOLINT
377377
std::string ssl_file_cert = ""; // NOLINT
378378

379-
std::map<std::string,std::string> default_template_kwargs;
379+
std::map<std::string, std::string> default_template_kwargs;
380380

381381
// "advanced" endpoints are disabled by default for better security
382382
bool webui = true;

tools/server/utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ static json oaicompat_chat_params_parse(
735735
inputs.reasoning_format = opt.reasoning_format;
736736

737737
auto chat_template_kwargs_object = json_value(body, "chat_template_kwargs", json::object());
738-
for (const auto & item: default_template_kwargs) {
738+
for (const auto & item : default_template_kwargs) {
739739
inputs.chat_template_kwargs[item.first] = item.second;
740740
}
741741
for (const auto & item : chat_template_kwargs_object.items()) {

0 commit comments

Comments
 (0)