Skip to content

Commit fe6e44a

Browse files
Apply suggestions from code review
coding standard: cosmetic changes Co-authored-by: Georgi Gerganov <[email protected]>
1 parent 56b3a69 commit fe6e44a

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
@@ -126,7 +126,7 @@ struct common_chat_templates_inputs {
126126
common_reasoning_format reasoning_format = COMMON_REASONING_FORMAT_NONE;
127127
bool enable_thinking = true;
128128
std::chrono::system_clock::time_point now = std::chrono::system_clock::now();
129-
std::map<std::string,std::string> chat_template_kwargs;
129+
std::map<std::string, std::string> chat_template_kwargs;
130130
};
131131

132132
struct common_chat_params {

common/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ struct common_params {
379379
std::string ssl_file_key = ""; // NOLINT
380380
std::string ssl_file_cert = ""; // NOLINT
381381

382-
std::map<std::string,std::string> default_template_kwargs;
382+
std::map<std::string, std::string> default_template_kwargs;
383383

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

tools/server/utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ static json oaicompat_chat_params_parse(
750750
}
751751

752752
auto chat_template_kwargs_object = json_value(body, "chat_template_kwargs", json::object());
753-
for (const auto & item: default_template_kwargs) {
753+
for (const auto & item : default_template_kwargs) {
754754
inputs.chat_template_kwargs[item.first] = item.second;
755755
}
756756
for (const auto & item : chat_template_kwargs_object.items()) {

0 commit comments

Comments
 (0)