Skip to content

Commit 67789ef

Browse files
committed
fix merge conflict
1 parent fe6e44a commit 67789ef

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
@@ -571,7 +571,7 @@ struct oaicompat_parser_options {
571571
bool use_jinja;
572572
bool prefill_assistant;
573573
common_reasoning_format reasoning_format;
574-
const std::map<std::string,std::string> chat_template_kwargs;
574+
std::map<std::string,std::string> chat_template_kwargs;
575575
common_chat_templates * tmpls;
576576
bool allow_image;
577577
bool allow_audio;
@@ -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 : opt.chat_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)