Kimi-K2’s official template uses two unsupported pattern:
{{ tools | tojson(separators=(',', ':')) }} non-indented JSON
{%- set formatted_id = tool_call['id'] -%} equivalent to building "functions." + tool_call['function']['name'] + ":" + loop.index
Should we add support for these?
See: ikawrakow/ik_llama.cpp#958 (comment)
Kimi-K2’s official template uses two unsupported pattern:
{{ tools | tojson(separators=(',', ':')) }}non-indented JSON{%- set formatted_id = tool_call['id'] -%}equivalent to building"functions." + tool_call['function']['name'] + ":" + loop.indexShould we add support for these?
See: ikawrakow/ik_llama.cpp#958 (comment)