---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 879
    host: ""
    body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"}],"model":"moonshotai/Kimi-K2-Instruct-0905:groq","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}'
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - Charm-Fantasy/0.12.2 (https://charm.land/fantasy)
    url: https://router.huggingface.co/v1/chat/completions
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    body: |+
      data: {"id":"chatcmpl-edcdda85-c2ec-4f70-9142-7b04f06c47aa","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}],"x_groq":{"id":"req_01kkhvr1djf7as7hxyta3y5d9q","seed":118898684}}

      data: {"id":"chatcmpl-edcdda85-c2ec-4f70-9142-7b04f06c47aa","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":"I'll"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-edcdda85-c2ec-4f70-9142-7b04f06c47aa","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" add"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-edcdda85-c2ec-4f70-9142-7b04f06c47aa","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-edcdda85-c2ec-4f70-9142-7b04f06c47aa","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" multiply"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-edcdda85-c2ec-4f70-9142-7b04f06c47aa","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" the"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-edcdda85-c2ec-4f70-9142-7b04f06c47aa","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" numbers"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-edcdda85-c2ec-4f70-9142-7b04f06c47aa","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-edcdda85-c2ec-4f70-9142-7b04f06c47aa","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-edcdda85-c2ec-4f70-9142-7b04f06c47aa","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-edcdda85-c2ec-4f70-9142-7b04f06c47aa","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-edcdda85-c2ec-4f70-9142-7b04f06c47aa","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-edcdda85-c2ec-4f70-9142-7b04f06c47aa","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" for"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-edcdda85-c2ec-4f70-9142-7b04f06c47aa","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" you"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-edcdda85-c2ec-4f70-9142-7b04f06c47aa","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-edcdda85-c2ec-4f70-9142-7b04f06c47aa","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"tool_calls":[{"id":"functions.add:0","type":"function","function":{"name":"add","arguments":"{\"a\":2,\"b\":3}"},"index":0}]},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-edcdda85-c2ec-4f70-9142-7b04f06c47aa","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"tool_calls":[{"id":"functions.multiply:1","type":"function","function":{"name":"multiply","arguments":"{\"a\":2,\"b\":3}"},"index":1}]},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-edcdda85-c2ec-4f70-9142-7b04f06c47aa","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"tool_calls"}],"x_groq":{"id":"req_01kkhvr1djf7as7hxyta3y5d9q","usage":{"queue_time":0.070000497,"prompt_tokens":201,"prompt_time":0.024993654,"completion_tokens":55,"completion_time":0.166981283,"total_tokens":256,"total_time":0.191974937}},"usage":{"queue_time":0.070000497,"prompt_tokens":201,"prompt_time":0.024993654,"completion_tokens":55,"completion_time":0.166981283,"total_tokens":256,"total_time":0.191974937}}

      data: {"id":"chatcmpl-edcdda85-c2ec-4f70-9142-7b04f06c47aa","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[],"usage":{"queue_time":0.070000497,"prompt_tokens":201,"prompt_time":0.024993654,"completion_tokens":55,"completion_time":0.166981283,"total_tokens":256,"total_time":0.191974937},"service_tier":"on_demand"}

      data: [DONE]

    headers:
      Content-Type:
      - text/event-stream
    status: 200 OK
    code: 200
    duration: 299.20475ms
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 1321
    host: ""
    body: '{"messages":[{"content":"You are a helpful assistant. Always use both add and multiply at the same time.","role":"system"},{"content":"Add and multiply the number 2 and 3","role":"user"},{"content":"I''ll add and multiply the numbers 2 and 3 for you.","tool_calls":[{"id":"functions.add:0","function":{"arguments":"{\"a\":2,\"b\":3}","name":"add"},"type":"function"},{"id":"functions.multiply:1","function":{"arguments":"{\"a\":2,\"b\":3}","name":"multiply"},"type":"function"}],"role":"assistant"},{"content":"5","tool_call_id":"functions.add:0","role":"tool"},{"content":"6","tool_call_id":"functions.multiply:1","role":"tool"}],"model":"moonshotai/Kimi-K2-Instruct-0905:groq","max_tokens":4000,"stream_options":{"include_usage":true},"tool_choice":"auto","tools":[{"function":{"name":"add","strict":false,"description":"Add two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"},{"function":{"name":"multiply","strict":false,"description":"Multiply two numbers","parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"}},"type":"function"}],"stream":true}'
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - Charm-Fantasy/0.12.2 (https://charm.land/fantasy)
    url: https://router.huggingface.co/v1/chat/completions
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    body: |+
      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}],"x_groq":{"id":"req_01kkhvr1y4f7c94xjnck5nxy62","seed":103431212}}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":"The"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" results"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" are"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":":\n"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":"-"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" Addition"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" +"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" ="},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":"5"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":"-"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" Multi"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":"plication"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" ×"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" ="},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":"6"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"x_groq":{"id":"req_01kkhvr1y4f7c94xjnck5nxy62","usage":{"queue_time":0.071348434,"prompt_tokens":293,"prompt_time":0.029318208,"completion_tokens":29,"completion_time":0.063189501,"total_tokens":322,"total_time":0.092507709}},"usage":{"queue_time":0.071348434,"prompt_tokens":293,"prompt_time":0.029318208,"completion_tokens":29,"completion_time":0.063189501,"total_tokens":322,"total_time":0.092507709}}

      data: {"id":"chatcmpl-911a867c-33bc-47fe-89cd-7a41c5b30b9b","object":"chat.completion.chunk","created":1773347276,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[],"usage":{"queue_time":0.071348434,"prompt_tokens":293,"prompt_time":0.029318208,"completion_tokens":29,"completion_time":0.063189501,"total_tokens":322,"total_time":0.092507709},"service_tier":"on_demand"}

      data: [DONE]

    headers:
      Content-Type:
      - text/event-stream
    status: 200 OK
    code: 200
    duration: 409.563166ms
