File tree 3 files changed +3
-3
lines changed 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ struct common_chat_templates_inputs {
74
74
bool parallel_tool_calls = false ;
75
75
bool extract_reasoning = true ;
76
76
std::chrono::system_clock::time_point now = std::chrono::system_clock::now();
77
- std::map<std::string,std::string> chat_template_kwargs;
77
+ std::map<std::string, std::string> chat_template_kwargs;
78
78
};
79
79
80
80
struct common_chat_params {
Original file line number Diff line number Diff line change @@ -376,7 +376,7 @@ struct common_params {
376
376
std::string ssl_file_key = " " ; // NOLINT
377
377
std::string ssl_file_cert = " " ; // NOLINT
378
378
379
- std::map<std::string,std::string> default_template_kwargs;
379
+ std::map<std::string, std::string> default_template_kwargs;
380
380
381
381
// "advanced" endpoints are disabled by default for better security
382
382
bool webui = true ;
Original file line number Diff line number Diff line change @@ -730,7 +730,7 @@ static json oaicompat_completion_params_parse(
730
730
inputs.add_generation_prompt = json_value (body, " add_generation_prompt" , true );
731
731
732
732
auto chat_template_kwargs_object = json_value (body, " chat_template_kwargs" , json::object ());
733
- for (const auto & item: default_template_kwargs) {
733
+ for (const auto & item : default_template_kwargs) {
734
734
inputs.chat_template_kwargs [item.first ] = item.second ;
735
735
}
736
736
for (const auto & item : chat_template_kwargs_object.items ()) {
You can’t perform that action at this time.
0 commit comments