File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ struct common_chat_templates_inputs {
126
126
common_reasoning_format reasoning_format = COMMON_REASONING_FORMAT_NONE;
127
127
bool enable_thinking = true ;
128
128
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;
130
130
};
131
131
132
132
struct common_chat_params {
Original file line number Diff line number Diff line change @@ -377,7 +377,7 @@ struct common_params {
377
377
std::string ssl_file_key = " " ; // NOLINT
378
378
std::string ssl_file_cert = " " ; // NOLINT
379
379
380
- std::map<std::string,std::string> default_template_kwargs;
380
+ std::map<std::string, std::string> default_template_kwargs;
381
381
382
382
// "advanced" endpoints are disabled by default for better security
383
383
bool webui = true ;
Original file line number Diff line number Diff line change @@ -738,7 +738,7 @@ static json oaicompat_chat_params_parse(
738
738
inputs.enable_thinking = opt.enable_thinking ;
739
739
740
740
auto chat_template_kwargs_object = json_value (body, " chat_template_kwargs" , json::object ());
741
- for (const auto & item: default_template_kwargs) {
741
+ for (const auto & item : default_template_kwargs) {
742
742
inputs.chat_template_kwargs [item.first ] = item.second ;
743
743
}
744
744
for (const auto & item : chat_template_kwargs_object.items ()) {
You can’t perform that action at this time.
0 commit comments