http_interactions:
- request:
    method: POST
    uri: https://api.openai.com/v1/responses
    body:
      string: '{"input":[{"role":"system","content":[{"type":"input_text","text":"Be
        terse."}]},{"role":"user","content":[{"type":"input_text","text":"What are
        Joe and Hadley''s favorite colors?"}]},{"role":"user","content":[{"type":"input_text","text":"Write
        ''Joe ____ Hadley ____''. Use ''unknown'' if you don''t know."}]}],"model":"gpt-4.1-mini","temperature":0,"stream":false,"tools":[{"type":"function","name":"user_favorite_color","description":"Find
        out a user''s favorite color","strict":true,"parameters":{"type":"object","description":"","properties":{"user":{"type":"string","description":"User''s
        name"}},"required":["user"],"additionalProperties":false}}],"store":false,"service_tier":"auto"}'
  response:
    status: 200
    headers:
      alt-svc: h3=":443"; ma=86400
      cf-cache-status: DYNAMIC
      cf-ray: 9a73c896787ea2a1-ORD
      content-encoding: gzip
      content-type: application/json
      date: Mon, 01 Dec 2025 15:58:02 GMT
      openai-organization: posit-esfrkf
      openai-processing-ms: '2046'
      openai-project: proj_KTxPJ5EAugIeuZGL0lAI1H9t
      openai-version: '2020-10-01'
      server: cloudflare
      set-cookie:
      - __cf_bm=BST8m45ZrpvyfuQTq.KPLkGt71zdgHOR0TOXb6YfXcM-1764604682-1.0.1.1-6GRWL3Q9QMP0q5mcY04GZv9KHzyn37jVkb2pGCqRg6.1gjYFq7BTI5B3FshUyOWjFJf3Mgj2smdUVxbY..zYpHu4gecqggQg4lBIaVKXnDY;
        path=/; expires=Mon, 01-Dec-25 16:28:02 GMT; domain=.api.openai.com; HttpOnly;
        Secure; SameSite=None
      - _cfuvid=CM.kknG3yM.R0B68q29nnuTTQ.V_U6H5ys4GolmW43I-1764604682830-0.0.1.1-604800000;
        path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
      strict-transport-security: max-age=31536000; includeSubDomains; preload
      x-content-type-options: nosniff
      x-envoy-upstream-service-time: '2050'
      x-ratelimit-limit-requests: '30000'
      x-ratelimit-limit-tokens: '150000000'
      x-ratelimit-remaining-requests: '29999'
      x-ratelimit-remaining-tokens: '149999700'
      x-ratelimit-reset-requests: 2ms
      x-ratelimit-reset-tokens: 0s
      x-request-id: req_1053196a60ba4092858cd3aa881cf745
    body:
      string: |-
        {
          "id": "resp_0451ccccc46187cb01692dbb08c7288197a019a2de94b976cf",
          "object": "response",
          "created_at": 1764604680,
          "status": "completed",
          "background": false,
          "billing": {
            "payer": "developer"
          },
          "error": null,
          "incomplete_details": null,
          "instructions": null,
          "max_output_tokens": null,
          "max_tool_calls": null,
          "model": "gpt-4.1-mini-2025-04-14",
          "output": [
            {
              "id": "fc_0451ccccc46187cb01692dbb09c2c08197a98dca09ae2f68ec",
              "type": "function_call",
              "status": "completed",
              "arguments": "{\"user\":\"Joe\"}",
              "call_id": "call_Cf6d0R0EHjJbkgsL0g5QiuHy",
              "name": "user_favorite_color"
            },
            {
              "id": "fc_0451ccccc46187cb01692dbb09ebc881978179f237ef143bf2",
              "type": "function_call",
              "status": "completed",
              "arguments": "{\"user\":\"Hadley\"}",
              "call_id": "call_UEdrirGGbmdNGpo5wfQc31r9",
              "name": "user_favorite_color"
            }
          ],
          "parallel_tool_calls": true,
          "previous_response_id": null,
          "prompt_cache_key": null,
          "prompt_cache_retention": null,
          "reasoning": {
            "effort": null,
            "summary": null
          },
          "safety_identifier": null,
          "service_tier": "default",
          "store": false,
          "temperature": 0.0,
          "text": {
            "format": {
              "type": "text"
            },
            "verbosity": "medium"
          },
          "tool_choice": "auto",
          "tools": [
            {
              "type": "function",
              "description": "Find out a user's favorite color",
              "name": "user_favorite_color",
              "parameters": {
                "type": "object",
                "description": "",
                "properties": {
                  "user": {
                    "type": "string",
                    "description": "User's name"
                  }
                },
                "required": [
                  "user"
                ],
                "additionalProperties": false
              },
              "strict": true
            }
          ],
          "top_logprobs": 0,
          "top_p": 1.0,
          "truncation": "disabled",
          "usage": {
            "input_tokens": 41,
            "input_tokens_details": {
              "cached_tokens": 0
            },
            "output_tokens": 50,
            "output_tokens_details": {
              "reasoning_tokens": 0
            },
            "total_tokens": 91
          },
          "user": null,
          "metadata": {}
        }
  recorded_at: 2025-12-01 15:58:02
- request:
    method: POST
    uri: https://api.openai.com/v1/responses
    body:
      string: '{"input":[{"role":"system","content":[{"type":"input_text","text":"Be
        terse."}]},{"role":"user","content":[{"type":"input_text","text":"What are
        Joe and Hadley''s favorite colors?"}]},{"role":"user","content":[{"type":"input_text","text":"Write
        ''Joe ____ Hadley ____''. Use ''unknown'' if you don''t know."}]},{"type":"function_call","call_id":"fc_0451ccccc46187cb01692dbb09c2c08197a98dca09ae2f68ec","name":"user_favorite_color","arguments":"{\"user\":\"Joe\"}"},{"type":"function_call","call_id":"fc_0451ccccc46187cb01692dbb09ebc881978179f237ef143bf2","name":"user_favorite_color","arguments":"{\"user\":\"Hadley\"}"},{"type":"function_call_output","call_id":"fc_0451ccccc46187cb01692dbb09c2c08197a98dca09ae2f68ec","output":"Tool
        calling failed with error Tool call rejected. Joe denied the request."},{"type":"function_call_output","call_id":"fc_0451ccccc46187cb01692dbb09ebc881978179f237ef143bf2","output":"red"}],"model":"gpt-4.1-mini","temperature":0,"stream":false,"tools":[{"type":"function","name":"user_favorite_color","description":"Find
        out a user''s favorite color","strict":true,"parameters":{"type":"object","description":"","properties":{"user":{"type":"string","description":"User''s
        name"}},"required":["user"],"additionalProperties":false}}],"store":false,"service_tier":"auto"}'
  response:
    status: 200
    headers:
      alt-svc: h3=":443"; ma=86400
      cf-cache-status: DYNAMIC
      cf-ray: 9a73c8a4981fa2a1-ORD
      content-encoding: gzip
      content-type: application/json
      date: Mon, 01 Dec 2025 15:58:05 GMT
      openai-organization: posit-esfrkf
      openai-processing-ms: '2089'
      openai-project: proj_KTxPJ5EAugIeuZGL0lAI1H9t
      openai-version: '2020-10-01'
      server: cloudflare
      set-cookie:
      - __cf_bm=kV9Fbj82oa0UvL7hpZkQw7m3rI_i.I3131RMreJGouY-1764604685-1.0.1.1-FK66MmdGCGXSNvkIQxy453avQr7taeU.UQREVVgUi3l2vAyw35vDhj18zQ28LRVmyYY2H_07xoNwI_Stn6pRPlRVvHGciuW5G5ByKG6nY9E;
        path=/; expires=Mon, 01-Dec-25 16:28:05 GMT; domain=.api.openai.com; HttpOnly;
        Secure; SameSite=None
      - _cfuvid=0XNO2UydTfv9Jrp9xUXYSlhY2Bwhan3hQCGuI9f1cAc-1764604685176-0.0.1.1-604800000;
        path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
      strict-transport-security: max-age=31536000; includeSubDomains; preload
      x-content-type-options: nosniff
      x-envoy-upstream-service-time: '2093'
      x-ratelimit-limit-requests: '30000'
      x-ratelimit-limit-tokens: '150000000'
      x-ratelimit-remaining-requests: '29999'
      x-ratelimit-remaining-tokens: '149999637'
      x-ratelimit-reset-requests: 2ms
      x-ratelimit-reset-tokens: 0s
      x-request-id: req_a24b5a15892e4098a7055ba7e28ba055
    body:
      string: |-
        {
          "id": "resp_0a4b059873a7445f01692dbb0b14188196b544128a115739fd",
          "object": "response",
          "created_at": 1764604683,
          "status": "completed",
          "background": false,
          "billing": {
            "payer": "developer"
          },
          "error": null,
          "incomplete_details": null,
          "instructions": null,
          "max_output_tokens": null,
          "max_tool_calls": null,
          "model": "gpt-4.1-mini-2025-04-14",
          "output": [
            {
              "id": "msg_0a4b059873a7445f01692dbb0bba8481969de780376fb9e845",
              "type": "message",
              "status": "completed",
              "content": [
                {
                  "type": "output_text",
                  "annotations": [],
                  "logprobs": [],
                  "text": "Joe unknown Hadley red"
                }
              ],
              "role": "assistant"
            }
          ],
          "parallel_tool_calls": true,
          "previous_response_id": null,
          "prompt_cache_key": null,
          "prompt_cache_retention": null,
          "reasoning": {
            "effort": null,
            "summary": null
          },
          "safety_identifier": null,
          "service_tier": "default",
          "store": false,
          "temperature": 0.0,
          "text": {
            "format": {
              "type": "text"
            },
            "verbosity": "medium"
          },
          "tool_choice": "auto",
          "tools": [
            {
              "type": "function",
              "description": "Find out a user's favorite color",
              "name": "user_favorite_color",
              "parameters": {
                "type": "object",
                "description": "",
                "properties": {
                  "user": {
                    "type": "string",
                    "description": "User's name"
                  }
                },
                "required": [
                  "user"
                ],
                "additionalProperties": false
              },
              "strict": true
            }
          ],
          "top_logprobs": 0,
          "top_p": 1.0,
          "truncation": "disabled",
          "usage": {
            "input_tokens": 146,
            "input_tokens_details": {
              "cached_tokens": 0
            },
            "output_tokens": 7,
            "output_tokens_details": {
              "reasoning_tokens": 0
            },
            "total_tokens": 153
          },
          "user": null,
          "metadata": {}
        }
  recorded_at: 2025-12-01 15:58:05
recorded_with: VCR-vcr/2.0.0
