1---
2version: 2
3interactions:
4- id: 0
5 request:
6 proto: HTTP/1.1
7 proto_major: 1
8 proto_minor: 1
9 content_length: 474
10 host: ""
11 body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"}],"model":"moonshotai/kimi-k2-instruct-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}'
12 headers:
13 Accept:
14 - application/json
15 Content-Type:
16 - application/json
17 User-Agent:
18 - Charm-Fantasy/0.12.2 (https://charm.land/fantasy)
19 url: https://api.groq.com/openai/v1/chat/completions
20 method: POST
21 response:
22 proto: HTTP/2.0
23 proto_major: 2
24 proto_minor: 0
25 content_length: -1
26 uncompressed: true
27 body: |
28 {"id":"chatcmpl-be641f72-2714-47dd-8b4f-522e8134fe11","object":"chat.completion","created":1773345612,"model":"moonshotai/kimi-k2-instruct-0905","choices":[{"index":0,"message":{"role":"assistant","content":"I'll check the weather in Florence, Italy for you.","tool_calls":[{"id":"functions.weather:0","type":"function","function":{"name":"weather","arguments":"{\"location\":\"Florence,Italy\"}"}}]},"logprobs":null,"finish_reason":"tool_calls"}],"usage":{"queue_time":0.195204943,"prompt_tokens":93,"prompt_time":0.014645715,"completion_tokens":32,"completion_time":0.085405286,"total_tokens":125,"total_time":0.100051001},"usage_breakdown":null,"system_fingerprint":"fp_241bc7119c","x_groq":{"id":"req_01kkht58t5fzxty9507k1xeacd","seed":1524148036},"service_tier":"on_demand"}
29 headers:
30 Content-Type:
31 - application/json
32 status: 200 OK
33 code: 200
34 duration: 367.7875ms
35- id: 1
36 request:
37 proto: HTTP/1.1
38 proto_major: 1
39 proto_minor: 1
40 content_length: 768
41 host: ""
42 body: '{"messages":[{"content":"You are a helpful assistant","role":"system"},{"content":"What''s the weather in Florence,Italy?","role":"user"},{"content":"I''ll check the weather in Florence, Italy for you.","tool_calls":[{"id":"functions.weather:0","function":{"arguments":"{\"location\":\"Florence,Italy\"}","name":"weather"},"type":"function"}],"role":"assistant"},{"content":"40 C","tool_call_id":"functions.weather:0","role":"tool"}],"model":"moonshotai/kimi-k2-instruct-0905","max_tokens":4000,"tool_choice":"auto","tools":[{"function":{"name":"weather","strict":false,"description":"Get weather information for a location","parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"}},"type":"function"}]}'
43 headers:
44 Accept:
45 - application/json
46 Content-Type:
47 - application/json
48 User-Agent:
49 - Charm-Fantasy/0.12.2 (https://charm.land/fantasy)
50 url: https://api.groq.com/openai/v1/chat/completions
51 method: POST
52 response:
53 proto: HTTP/2.0
54 proto_major: 2
55 proto_minor: 0
56 content_length: -1
57 uncompressed: true
58 body: |
59 {"id":"chatcmpl-7a679b99-7eeb-4a98-ac30-c48297ee855f","object":"chat.completion","created":1773345613,"model":"moonshotai/kimi-k2-instruct-0905","choices":[{"index":0,"message":{"role":"assistant","content":"The current temperature in Florence, Italy is 40°C."},"logprobs":null,"finish_reason":"stop"}],"usage":{"queue_time":0.2004154,"prompt_tokens":143,"prompt_time":0.037531339,"completion_tokens":13,"completion_time":0.039510744,"total_tokens":156,"total_time":0.077042083},"usage_breakdown":null,"system_fingerprint":"fp_05df423bab","x_groq":{"id":"req_01kkht595hfwrt93w2tve660tb","seed":1991909797},"service_tier":"on_demand"}
60 headers:
61 Content-Type:
62 - application/json
63 status: 200 OK
64 code: 200
65 duration: 362.018875ms