Skip to content

Commit 82c258f

Browse files
author
ochafik
committed
Just in case, add more special tokens to preserve
1 parent 7fc54f5 commit 82c258f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

common/chat.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1377,6 +1377,9 @@ static common_chat_params common_chat_params_init_phi_4(const common_chat_templa
13771377
data.preserved_tokens = {
13781378
"<|tool_call|>",
13791379
"</|tool_call|>",
1380+
"<|tool_response|>",
1381+
"<|tool|>",
1382+
"</|tool|>",
13801383
};
13811384
});
13821385

0 commit comments

Comments
 (0)