main
txt 24 lines 996 Bytes
Raw
1 # auto (from_token_zero)
2 sequence
3 sequence
4 tag `` text `</think>`
5 `\n\n`
6 triggered_tags [`<tool_call>\n<function=`] excluding [`<think>`, `</think>`]
7 tag `<tool_call>\n<function=get_weather>\n` qwen_xml({ location: string }) `\n</function>\n</tool_call>`
8 tag `<tool_call>\n<function=add>\n` qwen_xml({ y: number, x: number, items: string[] }) `\n</function>\n</tool_call>`
9
10 # required (from_token_zero)
11 sequence
12 sequence
13 tag `` text `</think>`
14 `\n\n`
15 triggered_tags [`<tool_call>\n<function=`] excluding [`<think>`, `</think>`] at_least_one
16 tag `<tool_call>\n<function=get_weather>\n` qwen_xml({ location: string }) `\n</function>\n</tool_call>`
17 tag `<tool_call>\n<function=add>\n` qwen_xml({ y: number, x: number, items: string[] }) `\n</function>\n</tool_call>`
18
19 # named (from_token_zero)
20 sequence
21 sequence
22 tag `` text `</think>`
23 `\n\n`
24 tag `<tool_call>\n<function=get_weather>\n` qwen_xml({ location: string }) `\n</function>\n</tool_call>`