We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
?
1 parent 05391a6 commit 6eb75e7Copy full SHA for 6eb75e7
common/chat.cpp
@@ -1837,11 +1837,11 @@ static common_chat_params common_chat_params_init_hermes_2_pro(const common_chat
1837
if (extra_context["enable_thinking"]) {
1838
if (data.thinking_forced_open) {
1839
//thinking tag was already opened by used so we don't need to add it again
1840
- thinking_grammar_logic = "(thinking-content thinking-end)? ";
+ thinking_grammar_logic = "(thinking-content thinking-end) ";
1841
}
1842
else
1843
{
1844
- thinking_grammar_logic = "(thinking-start thinking-content thinking-end)? ";
+ thinking_grammar_logic = "(thinking-start thinking-content thinking-end) ";
1845
1846
1847
0 commit comments