also apply the hotcrashfix here, just in case
This commit is contained in:
parent
86493dd92b
commit
bb5e352ad9
|
|
@ -1833,7 +1833,7 @@ static common_chat_params common_chat_params_init_hermes_2_pro(const common_chat
|
||||||
if (extra_context["enable_thinking"]) {
|
if (extra_context["enable_thinking"]) {
|
||||||
if (data.thinking_forced_open) {
|
if (data.thinking_forced_open) {
|
||||||
//thinking tag was already opened by used so we don't need to add it again
|
//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
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue