Skip to content

Commit 882a4b0

Browse files
avoid unnecessary copy
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
1 parent 280a93b commit 882a4b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/server/utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ static json oaicompat_completion_params_parse(
584584
const json & body, /* openai api json semantics */
585585
bool use_jinja,
586586
common_reasoning_format reasoning_format,
587-
const std::map<std::string,std::string> default_template_kwargs,
587+
const std::map<std::string, std::string> & default_template_kwargs,
588588
const struct common_chat_templates * tmpls,
589589
bool allow_non_text,
590590
std::vector<raw_buffer> & out_files)

0 commit comments

Comments
 (0)