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 @@ -1345,13 +1345,13 @@ static common_chat_params common_chat_params_init_gpt_oss(const common_chat_temp
1345
1345
});
1346
1346
1347
1347
auto recipient_in_role = builder.add_rule (" recipient_in_role" ,
1348
- " \" <|start|>assistant\" ? \" to=functions.\" " +
1349
- string_join (tool_rules_recipient_in_role, " | " )
1348
+ " \" <|start|>assistant\" ? \" to=functions.\" ( " +
1349
+ string_join (tool_rules_recipient_in_role, " | " ) + " ) "
1350
1350
);
1351
1351
1352
1352
auto recipient_in_channel = builder.add_rule (" recipient_in_channel" ,
1353
- channel + " \" to=functions.\" " +
1354
- string_join (tool_rules_recipient_in_channel, " | " )
1353
+ channel + " \" to=functions.\" ( " +
1354
+ string_join (tool_rules_recipient_in_channel, " | " ) + " ) "
1355
1355
);
1356
1356
1357
1357
builder.add_rule (" root" , recipient_in_role + " | " + recipient_in_channel);
You can’t perform that action at this time.
0 commit comments