From bb5e352ad91cdb868df831513442607193d6e6a6 Mon Sep 17 00:00:00 2001 From: Pierre F Date: Mon, 25 Aug 2025 20:26:38 +0200 Subject: [PATCH] also apply the hotcrashfix here, just in case --- common/chat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/chat.cpp b/common/chat.cpp index 52743a1d32..23a446da91 100644 --- a/common/chat.cpp +++ b/common/chat.cpp @@ -1833,7 +1833,7 @@ static common_chat_params common_chat_params_init_hermes_2_pro(const common_chat if (extra_context["enable_thinking"]) { if (data.thinking_forced_open) { //thinking tag was already opened by used so we don't need to add it again - thinking_grammar_logic = "thinking-content thinking-end "; + thinking_grammar_logic = "(thinking-content thinking-end)? "; } else {