Update preserved_tokens format in chat.cpp

These should be tokens, no extra newlines here
This commit is contained in:
Piotr Wilkin (ilintar) 2026-02-02 10:58:18 +01:00 committed by GitHub
parent 37fa3365eb
commit 0c78fffb5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -1763,8 +1763,8 @@ static common_chat_params common_chat_params_init_gigachat_v3(
data.format = COMMON_CHAT_FORMAT_PEG_NATIVE;
data.preserved_tokens = {
"<|message_sep|>\n\n",
"<|role_sep|>\n",
"<|message_sep|>",
"<|role_sep|>",
};
auto has_tools = inputs.tools.is_array() && !inputs.tools.empty();