---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 874
    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","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://api.groq.com/openai/v1/chat/completions
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    body: |+
      data: {"id":"chatcmpl-a74ad02f-fb60-461d-8042-24ab0b962b51","object":"chat.completion.chunk","created":1773345615,"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_01kkht5b3yfqdt97w99bdntjns","seed":690443319}}

      data: {"id":"chatcmpl-a74ad02f-fb60-461d-8042-24ab0b962b51","object":"chat.completion.chunk","created":1773345615,"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-a74ad02f-fb60-461d-8042-24ab0b962b51","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" perform"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-a74ad02f-fb60-461d-8042-24ab0b962b51","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" both"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-a74ad02f-fb60-461d-8042-24ab0b962b51","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" addition"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-a74ad02f-fb60-461d-8042-24ab0b962b51","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-a74ad02f-fb60-461d-8042-24ab0b962b51","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" multiplication"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-a74ad02f-fb60-461d-8042-24ab0b962b51","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" on"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-a74ad02f-fb60-461d-8042-24ab0b962b51","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" the"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-a74ad02f-fb60-461d-8042-24ab0b962b51","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" numbers"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-a74ad02f-fb60-461d-8042-24ab0b962b51","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-a74ad02f-fb60-461d-8042-24ab0b962b51","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-a74ad02f-fb60-461d-8042-24ab0b962b51","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" and"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-a74ad02f-fb60-461d-8042-24ab0b962b51","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-a74ad02f-fb60-461d-8042-24ab0b962b51","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-a74ad02f-fb60-461d-8042-24ab0b962b51","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" for"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-a74ad02f-fb60-461d-8042-24ab0b962b51","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":" you"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-a74ad02f-fb60-461d-8042-24ab0b962b51","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-a74ad02f-fb60-461d-8042-24ab0b962b51","object":"chat.completion.chunk","created":1773345615,"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-a74ad02f-fb60-461d-8042-24ab0b962b51","object":"chat.completion.chunk","created":1773345615,"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-a74ad02f-fb60-461d-8042-24ab0b962b51","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"tool_calls"}],"x_groq":{"id":"req_01kkht5b3yfqdt97w99bdntjns","usage":{"queue_time":0.200019293,"prompt_tokens":201,"prompt_time":0.022569048,"completion_tokens":58,"completion_time":0.168140587,"total_tokens":259,"total_time":0.190709635}},"usage":{"queue_time":0.200019293,"prompt_tokens":201,"prompt_time":0.022569048,"completion_tokens":58,"completion_time":0.168140587,"total_tokens":259,"total_time":0.190709635}}

      data: {"id":"chatcmpl-a74ad02f-fb60-461d-8042-24ab0b962b51","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_05df423bab","choices":[],"usage":{"queue_time":0.200019293,"prompt_tokens":201,"prompt_time":0.022569048,"completion_tokens":58,"completion_time":0.168140587,"total_tokens":259,"total_time":0.190709635},"service_tier":"on_demand"}

      data: [DONE]

    headers:
      Content-Type:
      - text/event-stream
    status: 200 OK
    code: 200
    duration: 257.591833ms
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 1343
    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 perform both addition and multiplication on 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","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://api.groq.com/openai/v1/chat/completions
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    body: |+
      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"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_01kkht5bh5fqdtgmaa2dyb1d2w","seed":1752296393}}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":"Here"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" are"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" the"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" results"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":":\n"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":"-"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" Addition"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" +"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" ="},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":"5"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":"\n"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":"-"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" Multi"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":"plication"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":":"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" ×"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" ="},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{"content":"6"},"logprobs":null,"finish_reason":null}]}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"x_groq":{"id":"req_01kkht5bh5fqdtgmaa2dyb1d2w","usage":{"queue_time":0.21146538,"prompt_tokens":296,"prompt_time":0.060790061,"completion_tokens":30,"completion_time":0.066672213,"total_tokens":326,"total_time":0.127462274}},"usage":{"queue_time":0.21146538,"prompt_tokens":296,"prompt_time":0.060790061,"completion_tokens":30,"completion_time":0.066672213,"total_tokens":326,"total_time":0.127462274}}

      data: {"id":"chatcmpl-f88f0c44-83f0-41e1-be33-9c520acb9090","object":"chat.completion.chunk","created":1773345615,"model":"moonshotai/kimi-k2-instruct-0905","system_fingerprint":"fp_241bc7119c","choices":[],"usage":{"queue_time":0.21146538,"prompt_tokens":296,"prompt_time":0.060790061,"completion_tokens":30,"completion_time":0.066672213,"total_tokens":326,"total_time":0.127462274},"service_tier":"on_demand"}

      data: [DONE]

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