fixing editorconfig-checker CI (tailing whitespace)

This commit is contained in:
ExtReMLapin 2025-08-12 06:42:04 +02:00 committed by GitHub
parent 42937a5322
commit 5796938c03
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1644,7 +1644,7 @@ static common_chat_params common_chat_params_init_hermes_2_pro(const common_chat
builder.add_rule("thinking", "\"<think>\" [^\\x00]* \"</think>\" space");
}
builder.add_rule("root",
std::string(supports_thinking ? "(thinking)? space " :
std::string(supports_thinking ? "(thinking)? space " :
data.thinking_forced_open ? "( \"</think>\" space )? " : "") +
(inputs.parallel_tool_calls ? "(" + tool_call + ")+" : tool_call));
// Trigger on some common known "good bad" outputs (only from the start and with a json that's about a specific argument name to avoid false positives)