File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1469,8 +1469,8 @@ static void common_chat_parse_hermes_2_pro(common_chat_msg_parser & builder) {
14691469 static const common_regex open_regex (
14701470 " (?:"
14711471 " (```(?:xml|json)?\\ n\\ s*)?" // match 1 (block_start)
1472- " (" // match 2 (open_tag)
1473- " <tool_call>"
1472+ " (" // match 2 (open_tag)
1473+ " <tool_call>"
14741474 " |<function_call>"
14751475 " |<tool>"
14761476 " |<tools>"
Original file line number Diff line number Diff line change @@ -1396,7 +1396,7 @@ static void test_msg_diffs_compute() {
13961396 common_chat_msg_diff diff12;
13971397 diff12.tool_call_index = 0 ;
13981398 diff12.tool_call_delta .name = " special_function" ;
1399- diff12. tool_call_delta . id = " 123 " ;
1399+ // Note: id doesnt change here.
14001400 diff12.tool_call_delta .arguments = " g1\" : 1}" ;
14011401
14021402 assert_equals (
You can’t perform that action at this time.
0 commit comments