@@ -318,48 +318,62 @@ static void test_template_output_parsers() {
318318 /* .content_parts = */ {},
319319 tool_calls,
320320 /* .reasoning_content = */ " " ,
321+ /* .tool_name = */ " " ,
322+ /* .tool_call_id = */ " " ,
321323 };
322324 common_chat_msg message_assist_call_thoughts = {
323325 " assistant" ,
324326 /* .content = */ " " ,
325327 /* .content_parts = */ {},
326328 tool_calls,
327329 /* .reasoning_content = */ " I'm\n thinking" ,
330+ /* .tool_name = */ " " ,
331+ /* .tool_call_id = */ " " ,
328332 };
329333 common_chat_msg message_assist_call_thoughts_unparsed = {
330334 " assistant" ,
331335 /* .content = */ " <think>I'm\n thinking</think>" ,
332336 /* .content_parts = */ {},
333337 tool_calls,
334338 /* .reasoning_content = */ " " ,
339+ /* .tool_name = */ " " ,
340+ /* .tool_call_id = */ " " ,
335341 };
336342 common_chat_msg message_assist_call_id {
337343 " assistant" ,
338344 " " ,
339345 /* .content_parts = */ {},
340346 tool_calls_id,
341347 /* .reasoning_content = */ " " ,
348+ /* .tool_name = */ " " ,
349+ /* .tool_call_id = */ " " ,
342350 };
343351 common_chat_msg message_assist_call_idx {
344352 " assistant" ,
345353 " " ,
346354 /* .content_parts = */ {},
347355 tool_calls_idx,
348356 /* .reasoning_content = */ " " ,
357+ /* .tool_name = */ " " ,
358+ /* .tool_call_id = */ " " ,
349359 };
350360 common_chat_msg message_assist_call_python {
351361 " assistant" ,
352362 " " ,
353363 /* .content_parts = */ {},
354364 { { " python" , " {\" code\" : \" print('hey')\" }" , /* .id = */ " " } },
355365 /* .reasoning_content = */ " " ,
366+ /* .tool_name = */ " " ,
367+ /* .tool_call_id = */ " " ,
356368 };
357369 common_chat_msg message_assist_call_code_interpreter {
358370 " assistant" ,
359371 " " ,
360372 /* .content_parts = */ {},
361373 { { " code_interpreter" , " {\" code\" : \" print('hey')\" }" , /* .id = */ " " } },
362374 /* .reasoning_content = */ " " ,
375+ /* .tool_name = */ " " ,
376+ /* .tool_call_id = */ " " ,
363377 };
364378
365379 common_chat_templates_inputs inputs_no_tools;
0 commit comments