Skip to content

Commit 4909994

Browse files
author
xusenlin
committed
tiny fix
1 parent d45db7c commit 4909994

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/templates/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def apply_chat_template(
8989
system_prompt = system or self.system_prompt
9090
return self.tokenizer.apply_chat_template(
9191
messages,
92-
self.chat_template,
92+
chat_template=self.chat_template,
9393
add_generation_prompt=True,
9494
system_prompt=system_prompt,
9595
**kwargs,

0 commit comments

Comments
 (0)