Skip to content

Commit dbbe6e4

Browse files
matteoservaggerganov
authored and
matteo
committed
avoid unnecessary copy
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
1 parent 6c1c83e commit dbbe6e4

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
@@ -585,7 +585,7 @@ static json oaicompat_completion_params_parse(
585585
bool use_jinja,
586586
bool prefill_assistant,
587587
common_reasoning_format reasoning_format,
588-
const std::map<std::string,std::string> default_template_kwargs,
588+
const std::map<std::string, std::string> & default_template_kwargs,
589589
const struct common_chat_templates * tmpls,
590590
bool allow_non_text,
591591
std::vector<raw_buffer> & out_files)

0 commit comments

Comments
 (0)