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: 834
10 host: ""
11 body: '{"max_output_tokens":4000,"store":false,"input":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":[{"text":"Add and multiply the number 2 and 3","type":"input_text"}],"role":"user"}],"model":"gpt-4o","tool_choice":"auto","tools":[{"strict":false,"parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"add","description":"Add two numbers","type":"function"},{"strict":false,"parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"multiply","description":"Multiply two numbers","type":"function"}]}'
12 headers:
13 Accept:
14 - application/json
15 Content-Type:
16 - application/json
17 User-Agent:
18 - OpenAI/Go 2.3.0
19 url: https://api.openai.com/v1/responses
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 {
29 "id": "resp_0e4ad943aeeb6f440168f237e4ba68819d82d960503add3455",
30 "object": "response",
31 "created_at": 1760704484,
32 "status": "completed",
33 "background": false,
34 "billing": {
35 "payer": "developer"
36 },
37 "error": null,
38 "incomplete_details": null,
39 "instructions": null,
40 "max_output_tokens": 4000,
41 "max_tool_calls": null,
42 "model": "gpt-4o-2024-08-06",
43 "output": [
44 {
45 "id": "fc_0e4ad943aeeb6f440168f237e55708819dbb4bacb951338226",
46 "type": "function_call",
47 "status": "completed",
48 "arguments": "{\"a\":2,\"b\":3}",
49 "call_id": "call_fWTsR6VaKuyav2YHicLHxgUu",
50 "name": "add"
51 },
52 {
53 "id": "fc_0e4ad943aeeb6f440168f237e57510819db015d8ff8e768bdb",
54 "type": "function_call",
55 "status": "completed",
56 "arguments": "{\"a\":2,\"b\":3}",
57 "call_id": "call_KLpoIGIQ4rbE8b3AWCUaui6g",
58 "name": "multiply"
59 }
60 ],
61 "parallel_tool_calls": true,
62 "previous_response_id": null,
63 "prompt_cache_key": null,
64 "reasoning": {
65 "effort": null,
66 "summary": null
67 },
68 "safety_identifier": null,
69 "service_tier": "default",
70 "store": false,
71 "temperature": 1.0,
72 "text": {
73 "format": {
74 "type": "text"
75 },
76 "verbosity": "medium"
77 },
78 "tool_choice": "auto",
79 "tools": [
80 {
81 "type": "function",
82 "description": "Add two numbers",
83 "name": "add",
84 "parameters": {
85 "properties": {
86 "a": {
87 "description": "first number",
88 "type": "integer"
89 },
90 "b": {
91 "description": "second number",
92 "type": "integer"
93 }
94 },
95 "required": [
96 "a",
97 "b"
98 ],
99 "type": "object"
100 },
101 "strict": false
102 },
103 {
104 "type": "function",
105 "description": "Multiply two numbers",
106 "name": "multiply",
107 "parameters": {
108 "properties": {
109 "a": {
110 "description": "first number",
111 "type": "integer"
112 },
113 "b": {
114 "description": "second number",
115 "type": "integer"
116 }
117 },
118 "required": [
119 "a",
120 "b"
121 ],
122 "type": "object"
123 },
124 "strict": false
125 }
126 ],
127 "top_logprobs": 0,
128 "top_p": 1.0,
129 "truncation": "disabled",
130 "usage": {
131 "input_tokens": 54,
132 "input_tokens_details": {
133 "cached_tokens": 0
134 },
135 "output_tokens": 50,
136 "output_tokens_details": {
137 "reasoning_tokens": 0
138 },
139 "total_tokens": 104
140 },
141 "user": null,
142 "metadata": {}
143 }
144 headers:
145 Content-Type:
146 - application/json
147 status: 200 OK
148 code: 200
149 duration: 991.245209ms
150- id: 1
151 request:
152 proto: HTTP/1.1
153 proto_major: 1
154 proto_minor: 1
155 content_length: 1261
156 host: ""
157 body: '{"max_output_tokens":4000,"store":false,"input":[{"content":"You are a helpful assistant. CRITICAL: Always use both add and multiply at the same time ALWAYS.","role":"system"},{"content":[{"text":"Add and multiply the number 2 and 3","type":"input_text"}],"role":"user"},{"arguments":"\"{\\\"a\\\":2,\\\"b\\\":3}\"","call_id":"call_fWTsR6VaKuyav2YHicLHxgUu","name":"add","type":"function_call"},{"arguments":"\"{\\\"a\\\":2,\\\"b\\\":3}\"","call_id":"call_KLpoIGIQ4rbE8b3AWCUaui6g","name":"multiply","type":"function_call"},{"call_id":"call_fWTsR6VaKuyav2YHicLHxgUu","output":"5","type":"function_call_output"},{"call_id":"call_KLpoIGIQ4rbE8b3AWCUaui6g","output":"6","type":"function_call_output"}],"model":"gpt-4o","tool_choice":"auto","tools":[{"strict":false,"parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"add","description":"Add two numbers","type":"function"},{"strict":false,"parameters":{"properties":{"a":{"description":"first number","type":"integer"},"b":{"description":"second number","type":"integer"}},"required":["a","b"],"type":"object"},"name":"multiply","description":"Multiply two numbers","type":"function"}]}'
158 headers:
159 Accept:
160 - application/json
161 Content-Type:
162 - application/json
163 User-Agent:
164 - OpenAI/Go 2.3.0
165 url: https://api.openai.com/v1/responses
166 method: POST
167 response:
168 proto: HTTP/2.0
169 proto_major: 2
170 proto_minor: 0
171 content_length: -1
172 uncompressed: true
173 body: |-
174 {
175 "id": "resp_03837d599fa2bb470168f237e5bb18819c981526bc15969e4b",
176 "object": "response",
177 "created_at": 1760704485,
178 "status": "completed",
179 "background": false,
180 "billing": {
181 "payer": "developer"
182 },
183 "error": null,
184 "incomplete_details": null,
185 "instructions": null,
186 "max_output_tokens": 4000,
187 "max_tool_calls": null,
188 "model": "gpt-4o-2024-08-06",
189 "output": [
190 {
191 "id": "msg_03837d599fa2bb470168f237e6987c819c8c1f2bd707a5ecd0",
192 "type": "message",
193 "status": "completed",
194 "content": [
195 {
196 "type": "output_text",
197 "annotations": [],
198 "logprobs": [],
199 "text": "The sum of 2 and 3 is 5, and their product is 6."
200 }
201 ],
202 "role": "assistant"
203 }
204 ],
205 "parallel_tool_calls": true,
206 "previous_response_id": null,
207 "prompt_cache_key": null,
208 "reasoning": {
209 "effort": null,
210 "summary": null
211 },
212 "safety_identifier": null,
213 "service_tier": "default",
214 "store": false,
215 "temperature": 1.0,
216 "text": {
217 "format": {
218 "type": "text"
219 },
220 "verbosity": "medium"
221 },
222 "tool_choice": "auto",
223 "tools": [
224 {
225 "type": "function",
226 "description": "Add two numbers",
227 "name": "add",
228 "parameters": {
229 "properties": {
230 "a": {
231 "description": "first number",
232 "type": "integer"
233 },
234 "b": {
235 "description": "second number",
236 "type": "integer"
237 }
238 },
239 "required": [
240 "a",
241 "b"
242 ],
243 "type": "object"
244 },
245 "strict": false
246 },
247 {
248 "type": "function",
249 "description": "Multiply two numbers",
250 "name": "multiply",
251 "parameters": {
252 "properties": {
253 "a": {
254 "description": "first number",
255 "type": "integer"
256 },
257 "b": {
258 "description": "second number",
259 "type": "integer"
260 }
261 },
262 "required": [
263 "a",
264 "b"
265 ],
266 "type": "object"
267 },
268 "strict": false
269 }
270 ],
271 "top_logprobs": 0,
272 "top_p": 1.0,
273 "truncation": "disabled",
274 "usage": {
275 "input_tokens": 156,
276 "input_tokens_details": {
277 "cached_tokens": 0
278 },
279 "output_tokens": 21,
280 "output_tokens_details": {
281 "reasoning_tokens": 0
282 },
283 "total_tokens": 177
284 },
285 "user": null,
286 "metadata": {}
287 }
288 headers:
289 Content-Type:
290 - application/json
291 status: 200 OK
292 code: 200
293 duration: 1.167056291s