main
txt 18 lines 893 Bytes
Raw
1 # auto (from_token_zero)
2 sequence
3 tag `` text `</think>`
4 triggered_tags [`<tool_call>`] excluding [`<think>`, `</think>`, `</tool_call>`, `<arg_key>`, `</arg_key>`, `<arg_value>`, `</arg_value>`]
5 tag `<tool_call>get_weather` glm_xml({ location: string }) `</tool_call>`
6 tag `<tool_call>add` glm_xml({ y: number, x: number, items: string[] }) `</tool_call>`
7
8 # required (from_token_zero)
9 sequence
10 tag `` text `</think>`
11 triggered_tags [`<tool_call>`] excluding [`<think>`, `</think>`, `</tool_call>`, `<arg_key>`, `</arg_key>`, `<arg_value>`, `</arg_value>`] at_least_one
12 tag `<tool_call>get_weather` glm_xml({ location: string }) `</tool_call>`
13 tag `<tool_call>add` glm_xml({ y: number, x: number, items: string[] }) `</tool_call>`
14
15 # named (from_token_zero)
16 sequence
17 tag `` text `</think>`
18 tag `<tool_call>get_weather` glm_xml({ location: string }) `</tool_call>`