Skip to content

Commit ce48584

Browse files
author
ochafik
committed
No designated initializers yet
1 parent 06b5159 commit ce48584

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/common.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1747,8 +1747,8 @@ llama_chat_templates llama_chat_templates_from_model(const struct llama_model *
17471747
}
17481748
}
17491749
return {
1750-
.default_template = { default_template_src, bos_token, eos_token },
1751-
.tool_use_template = tool_use_template_src.empty() ? std::nullopt
1750+
/* .default_template = */ { default_template_src, bos_token, eos_token },
1751+
/* .tool_use_template = */ tool_use_template_src.empty() ? std::nullopt
17521752
: std::optional<minja::chat_template>({ tool_use_template_src, bos_token, eos_token }),
17531753
};
17541754
}

0 commit comments

Comments
 (0)