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
1369
1369
});
1370
1370
1371
1371
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, " | " ) + " ) "
1374
1374
);
1375
1375
1376
1376
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, " | " ) + " ) "
1379
1379
);
1380
1380
1381
1381
builder.add_rule (" root" , recipient_in_role + " | " + recipient_in_channel);
You can’t perform that action at this time.
0 commit comments