Update chat_template.jinja

#51
by AdvancedMage - opened

Update the tool call parsing format according to @liopen in this issue.

Moonshot AI org

@AdvancedMage Hi, tool_id should start from 0 and be global across all conversations. That is, if multiple messages contain tool_calls, the tool IDs in subsequent messages should continue incrementing from the last used index + 1. Guess it's not easy to implement in jinja...

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment