Skip to content

Commit e45a43a

Browse files
committed
fix merge conflict
1 parent 43e2921 commit e45a43a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/server/utils.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ struct oaicompat_parser_options {
565565
bool use_jinja;
566566
bool prefill_assistant;
567567
common_reasoning_format reasoning_format;
568-
const std::map<std::string,std::string> chat_template_kwargs;
568+
std::map<std::string,std::string> chat_template_kwargs;
569569
common_chat_templates * tmpls;
570570
bool allow_image;
571571
bool allow_audio;
@@ -738,7 +738,7 @@ static json oaicompat_chat_params_parse(
738738
inputs.enable_thinking = opt.enable_thinking;
739739

740740
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 : opt.chat_template_kwargs) {
742742
inputs.chat_template_kwargs[item.first] = item.second;
743743
}
744744
for (const auto & item : chat_template_kwargs_object.items()) {

0 commit comments

Comments
 (0)