| 541 | } |
| 542 | |
| 543 | bool common_chat_templates_was_explicit(const struct common_chat_templates * tmpls) { |
| 544 | return tmpls->has_explicit_template; |
| 545 | } |
| 546 | |
| 547 | // LFM2 format detection: template uses <|tool_list_start|>[...]<|tool_list_end|> around the tool list |
| 548 | // and <|tool_call_start|>[...]<|tool_call_end|> around each tool call |