Skip to content

Commit 5ad5a6f

Browse files
committed
fix merge conflict
1 parent c632b58 commit 5ad5a6f

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;
@@ -735,7 +735,7 @@ static json oaicompat_chat_params_parse(
735735
inputs.reasoning_format = opt.reasoning_format;
736736

737737
auto chat_template_kwargs_object = json_value(body, "chat_template_kwargs", json::object());
738-
for (const auto & item : default_template_kwargs) {
738+
for (const auto & item : opt.chat_template_kwargs) {
739739
inputs.chat_template_kwargs[item.first] = item.second;
740740
}
741741
for (const auto & item : chat_template_kwargs_object.items()) {

0 commit comments

Comments
 (0)