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: 491
10 host: ""
11 body: '{"max_output_tokens":4000,"store":false,"input":[{"content":"You are a helpful assistant","role":"developer"},{"content":[{"text":"What''s the weather in Florence,Italy?","type":"input_text"}],"role":"user"}],"model":"gpt-5-mini","tool_choice":"auto","tools":[{"strict":false,"parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"name":"weather","description":"Get weather information for a location","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://fantasy-playground-resource.openai.azure.com/openai/v1/responses
20 method: POST
21 response:
22 proto: HTTP/2.0
23 proto_major: 2
24 proto_minor: 0
25 content_length: 3537
26 body: |-
27 {
28 "id": "resp_01732c78a43466ae0169b2ff6aa4d88194822bbea5c052ca9f",
29 "object": "response",
30 "created_at": 1773338474,
31 "status": "completed",
32 "background": false,
33 "completed_at": 1773338481,
34 "content_filters": [
35 {
36 "blocked": false,
37 "source_type": "prompt",
38 "content_filter_raw": [],
39 "content_filter_results": {
40 "hate": {
41 "filtered": false,
42 "severity": "safe"
43 },
44 "sexual": {
45 "filtered": false,
46 "severity": "safe"
47 },
48 "violence": {
49 "filtered": false,
50 "severity": "safe"
51 },
52 "self_harm": {
53 "filtered": false,
54 "severity": "safe"
55 },
56 "jailbreak": {
57 "detected": false,
58 "filtered": false
59 }
60 },
61 "content_filter_offsets": {
62 "start_offset": 0,
63 "end_offset": 70,
64 "check_offset": 0
65 }
66 },
67 {
68 "blocked": false,
69 "source_type": "completion",
70 "content_filter_raw": [],
71 "content_filter_results": {
72 "protected_material_code": {
73 "detected": false,
74 "filtered": false
75 },
76 "protected_material_text": {
77 "detected": false,
78 "filtered": false
79 },
80 "hate": {
81 "filtered": false,
82 "severity": "safe"
83 },
84 "sexual": {
85 "filtered": false,
86 "severity": "safe"
87 },
88 "violence": {
89 "filtered": false,
90 "severity": "safe"
91 },
92 "self_harm": {
93 "filtered": false,
94 "severity": "safe"
95 }
96 },
97 "content_filter_offsets": {
98 "start_offset": 0,
99 "end_offset": 1395,
100 "check_offset": 0
101 }
102 }
103 ],
104 "error": null,
105 "frequency_penalty": 0.0,
106 "incomplete_details": null,
107 "instructions": null,
108 "max_output_tokens": 4000,
109 "max_tool_calls": null,
110 "model": "gpt-5-mini",
111 "output": [
112 {
113 "id": "rs_01732c78a43466ae0169b2ff7005048194875b5d3f92871d49",
114 "type": "reasoning",
115 "summary": []
116 },
117 {
118 "id": "fc_01732c78a43466ae0169b2ff70e3948194a75b7cb3ef8e0d55",
119 "type": "function_call",
120 "status": "completed",
121 "arguments": "{\"location\":\"Florence, Italy\"}",
122 "call_id": "call_yTCy7OpPv0Z8Y7VNP0LiMnqv",
123 "name": "weather"
124 }
125 ],
126 "parallel_tool_calls": true,
127 "presence_penalty": 0.0,
128 "previous_response_id": null,
129 "prompt_cache_key": null,
130 "prompt_cache_retention": null,
131 "reasoning": {
132 "effort": "medium",
133 "summary": null
134 },
135 "safety_identifier": null,
136 "service_tier": "default",
137 "store": false,
138 "temperature": 1.0,
139 "text": {
140 "format": {
141 "type": "text"
142 },
143 "verbosity": "medium"
144 },
145 "tool_choice": "auto",
146 "tools": [
147 {
148 "type": "function",
149 "description": "Get weather information for a location",
150 "name": "weather",
151 "parameters": {
152 "properties": {
153 "location": {
154 "description": "the city",
155 "type": "string"
156 }
157 },
158 "required": [
159 "location"
160 ],
161 "type": "object"
162 },
163 "strict": false
164 }
165 ],
166 "top_logprobs": 0,
167 "top_p": 1.0,
168 "truncation": "disabled",
169 "usage": {
170 "input_tokens": 66,
171 "input_tokens_details": {
172 "cached_tokens": 0
173 },
174 "output_tokens": 85,
175 "output_tokens_details": {
176 "reasoning_tokens": 0
177 },
178 "total_tokens": 151
179 },
180 "user": null,
181 "metadata": {}
182 }
183 headers:
184 Content-Type:
185 - application/json
186 status: 200 OK
187 code: 200
188 duration: 7.532447083s
189- id: 1
190 request:
191 proto: HTTP/1.1
192 proto_major: 1
193 proto_minor: 1
194 content_length: 726
195 host: ""
196 body: '{"max_output_tokens":4000,"store":false,"input":[{"content":"You are a helpful assistant","role":"developer"},{"content":[{"text":"What''s the weather in Florence,Italy?","type":"input_text"}],"role":"user"},{"arguments":"\"{\\\"location\\\":\\\"Florence, Italy\\\"}\"","call_id":"call_yTCy7OpPv0Z8Y7VNP0LiMnqv","name":"weather","type":"function_call"},{"call_id":"call_yTCy7OpPv0Z8Y7VNP0LiMnqv","output":"40 C","type":"function_call_output"}],"model":"gpt-5-mini","tool_choice":"auto","tools":[{"strict":false,"parameters":{"properties":{"location":{"description":"the city","type":"string"}},"required":["location"],"type":"object"},"name":"weather","description":"Get weather information for a location","type":"function"}]}'
197 headers:
198 Accept:
199 - application/json
200 Content-Type:
201 - application/json
202 User-Agent:
203 - Charm-Fantasy/0.12.2 (https://charm.land/fantasy)
204 url: https://fantasy-playground-resource.openai.azure.com/openai/v1/responses
205 method: POST
206 response:
207 proto: HTTP/2.0
208 proto_major: 2
209 proto_minor: 0
210 content_length: 3333
211 body: |-
212 {
213 "id": "resp_0a4fc6712b6ac6210169b2ff72107c8197a726423119c97bf5",
214 "object": "response",
215 "created_at": 1773338482,
216 "status": "completed",
217 "background": false,
218 "completed_at": 1773338488,
219 "content_filters": [
220 {
221 "blocked": false,
222 "source_type": "completion",
223 "content_filter_raw": [],
224 "content_filter_results": {
225 "protected_material_code": {
226 "detected": false,
227 "filtered": false
228 },
229 "hate": {
230 "filtered": false,
231 "severity": "safe"
232 },
233 "sexual": {
234 "filtered": false,
235 "severity": "safe"
236 },
237 "violence": {
238 "filtered": false,
239 "severity": "safe"
240 },
241 "self_harm": {
242 "filtered": false,
243 "severity": "safe"
244 },
245 "protected_material_text": {
246 "detected": false,
247 "filtered": false
248 }
249 },
250 "content_filter_offsets": {
251 "start_offset": 0,
252 "end_offset": 2664,
253 "check_offset": 0
254 }
255 }
256 ],
257 "error": null,
258 "frequency_penalty": 0.0,
259 "incomplete_details": null,
260 "instructions": null,
261 "max_output_tokens": 4000,
262 "max_tool_calls": null,
263 "model": "gpt-5-mini",
264 "output": [
265 {
266 "id": "rs_0a4fc6712b6ac6210169b2ff737f6c81978d25f7f4335790c0",
267 "type": "reasoning",
268 "summary": []
269 },
270 {
271 "id": "msg_0a4fc6712b6ac6210169b2ff7654948197a45f97f3435a9e82",
272 "type": "message",
273 "status": "completed",
274 "content": [
275 {
276 "type": "output_text",
277 "annotations": [],
278 "logprobs": [],
279 "text": "Current temperature in Florence, Italy: 40 \u00b0C (104 \u00b0F).\n\nIt's very hot \u2014 tips:\n- Stay hydrated and avoid prolonged sun exposure.\n- Wear light, breathable clothing and sunscreen.\n- Take breaks in air-conditioned or shaded places; avoid strenuous outdoor activity around midday.\n- Check for local heat advisories if you\u2019ll be outside long.\n\nWould you like an hourly forecast, a multi-day outlook, or weather for a different location?"
280 }
281 ],
282 "role": "assistant"
283 }
284 ],
285 "parallel_tool_calls": true,
286 "presence_penalty": 0.0,
287 "previous_response_id": null,
288 "prompt_cache_key": null,
289 "prompt_cache_retention": null,
290 "reasoning": {
291 "effort": "medium",
292 "summary": null
293 },
294 "safety_identifier": null,
295 "service_tier": "default",
296 "store": false,
297 "temperature": 1.0,
298 "text": {
299 "format": {
300 "type": "text"
301 },
302 "verbosity": "medium"
303 },
304 "tool_choice": "auto",
305 "tools": [
306 {
307 "type": "function",
308 "description": "Get weather information for a location",
309 "name": "weather",
310 "parameters": {
311 "properties": {
312 "location": {
313 "description": "the city",
314 "type": "string"
315 }
316 },
317 "required": [
318 "location"
319 ],
320 "type": "object"
321 },
322 "strict": false
323 }
324 ],
325 "top_logprobs": 0,
326 "top_p": 1.0,
327 "truncation": "disabled",
328 "usage": {
329 "input_tokens": 97,
330 "input_tokens_details": {
331 "cached_tokens": 0
332 },
333 "output_tokens": 333,
334 "output_tokens_details": {
335 "reasoning_tokens": 192
336 },
337 "total_tokens": 430
338 },
339 "user": null,
340 "metadata": {}
341 }
342 headers:
343 Content-Type:
344 - application/json
345 status: 200 OK
346 code: 200
347 duration: 6.493260459s