File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1369,13 +1369,13 @@ static common_chat_params common_chat_params_init_gpt_oss(const common_chat_temp
13691369 });
13701370
13711371 auto recipient_in_role = builder.add_rule (" recipient_in_role" ,
1372- " \" <|start|>assistant\" ? \" to=functions.\" " +
1373- string_join (tool_rules_recipient_in_role, " | " )
1372+ " \" <|start|>assistant\" ? \" to=functions.\" ( " +
1373+ string_join (tool_rules_recipient_in_role, " | " ) + " ) "
13741374 );
13751375
13761376 auto recipient_in_channel = builder.add_rule (" recipient_in_channel" ,
1377- channel + " \" to=functions.\" " +
1378- string_join (tool_rules_recipient_in_channel, " | " )
1377+ channel + " \" to=functions.\" ( " +
1378+ string_join (tool_rules_recipient_in_channel, " | " ) + " ) "
13791379 );
13801380
13811381 builder.add_rule (" root" , recipient_in_role + " | " + recipient_in_channel);
You can’t perform that action at this time.
0 commit comments