---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 553
    host: ""
    body: '{"store":false,"include":["reasoning.encrypted_content"],"input":[{"content":"You are a helpful assistant","role":"developer"},{"content":[{"text":"What''s the weather in Florence, Italy?","type":"input_text"}],"role":"user"}],"model":"o4-mini","reasoning":{"effort":"high","summary":"auto"},"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"}]}'
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - Charm-Fantasy/0.12.2 (https://charm.land/fantasy)
    url: https://api.openai.com/v1/responses
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    uncompressed: true
    body: |-
      {
        "id": "resp_07143e0d7cf2d4a90169b3198740e48195bd0ad4784a508ade",
        "object": "response",
        "created_at": 1773345159,
        "status": "completed",
        "background": false,
        "billing": {
          "payer": "developer"
        },
        "completed_at": 1773345161,
        "error": null,
        "frequency_penalty": 0.0,
        "incomplete_details": null,
        "instructions": null,
        "max_output_tokens": null,
        "max_tool_calls": null,
        "model": "o4-mini-2025-04-16",
        "output": [
          {
            "id": "rs_07143e0d7cf2d4a90169b319885cb88195a1bb7a952052db4d",
            "type": "reasoning",
            "encrypted_content": "gAAAAABpsxmJpUPkUo9BjVWMoB5IqOc2z9YhXBk9pRPu4S82H045OpdoDwncDJLq9E2oM9wg0lxTAC8V6qS7iTVcsO4UEgnN9jf08KJ1wSkb24kZdqNdmH3t_DehH6IEFsu5SkcnVbS9YgUA8dzt72y3W3IwtmbkVTCG-LEs4feMXasSu8WMx0KHtrX6eMc-Q3yKeoJab5b3YHb7Qu2mRjH5MSOHq2QzUV2LK5FRM9jnEkLqDf3WmdhgsR66d05XBREni-DY8-xn8LgvoEJERdtdeVIUALW2mKVVfrNO9NuA91-J6rpe4beppxwFxocvcotju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2oOGwuUjx9BvFPsvtVS6kJXI2izzA==",
            "summary": []
          },
          {
            "id": "fc_07143e0d7cf2d4a90169b319895df48195bcdc573701298c28",
            "type": "function_call",
            "status": "completed",
            "arguments": "{\"location\":\"Florence, Italy\"}",
            "call_id": "call_ZgWM9rbt3Yxv1cu7zAUUqGID",
            "name": "weather"
          }
        ],
        "parallel_tool_calls": true,
        "presence_penalty": 0.0,
        "previous_response_id": null,
        "prompt_cache_key": null,
        "prompt_cache_retention": null,
        "reasoning": {
          "effort": "high",
          "summary": "detailed"
        },
        "safety_identifier": null,
        "service_tier": "default",
        "store": false,
        "temperature": 1.0,
        "text": {
          "format": {
            "type": "text"
          },
          "verbosity": "medium"
        },
        "tool_choice": "auto",
        "tools": [
          {
            "type": "function",
            "description": "Get weather information for a location",
            "name": "weather",
            "parameters": {
              "properties": {
                "location": {
                  "description": "the city",
                  "type": "string"
                }
              },
              "required": [
                "location"
              ],
              "type": "object"
            },
            "strict": false
          }
        ],
        "top_logprobs": 0,
        "top_p": 1.0,
        "truncation": "disabled",
        "usage": {
          "input_tokens": 60,
          "input_tokens_details": {
            "cached_tokens": 0
          },
          "output_tokens": 120,
          "output_tokens_details": {
            "reasoning_tokens": 64
          },
          "total_tokens": 180
        },
        "user": null,
        "metadata": {}
      }
    headers:
      Content-Type:
      - application/json
    status: 200 OK
    code: 200
    duration: 2.594735541s
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 2383
    host: ""
    body: '{"store":false,"include":["reasoning.encrypted_content"],"input":[{"content":"You are a helpful assistant","role":"developer"},{"content":[{"text":"What''s the weather in Florence, Italy?","type":"input_text"}],"role":"user"},{"id":"rs_07143e0d7cf2d4a90169b319885cb88195a1bb7a952052db4d","summary":[{"text":"","type":"summary_text"}],"encrypted_content":"gAAAAABpsxmJpUPkUo9BjVWMoB5IqOc2z9YhXBk9pRPu4S82H045OpdoDwncDJLq9E2oM9wg0lxTAC8V6qS7iTVcsO4UEgnN9jf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sIjC95RMwV0oGil8oDkAGrVOCtDg2_sag7gysWX8p42DpLO3BrErOhv2prFh15le2Q6nyNT29d1u6KGRMttA56VQtlhto5OxSLdrC6owHlIDnEA8A4NG7ba9XLTn3hLVFqiDhwCCpEo01nxqF6hJ2SqXPxAxkLnPcBXNIWdeIKrPqWl2fGITO5UTXwCmyg82hGoWb5khd754FmQj4ywnW24h96QADS01RXQ3J3w2oOGwuUjx9BvFPsvtVS6kJXI2izzA==","type":"reasoning"},{"arguments":"\"{\\\"location\\\":\\\"Florence, Italy\\\"}\"","call_id":"call_ZgWM9rbt3Yxv1cu7zAUUqGID","name":"weather","type":"function_call"},{"call_id":"call_ZgWM9rbt3Yxv1cu7zAUUqGID","output":"40 C","type":"function_call_output"}],"model":"o4-mini","reasoning":{"effort":"high","summary":"auto"},"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"}]}'
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - Charm-Fantasy/0.12.2 (https://charm.land/fantasy)
    url: https://api.openai.com/v1/responses
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    uncompressed: true
    body: |-
      {
        "id": "resp_07143e0d7cf2d4a90169b31989c5d48195846c36cab6292c48",
        "object": "response",
        "created_at": 1773345161,
        "status": "completed",
        "background": false,
        "billing": {
          "payer": "developer"
        },
        "completed_at": 1773345162,
        "error": null,
        "frequency_penalty": 0.0,
        "incomplete_details": null,
        "instructions": null,
        "max_output_tokens": null,
        "max_tool_calls": null,
        "model": "o4-mini-2025-04-16",
        "output": [
          {
            "id": "msg_07143e0d7cf2d4a90169b3198a14908195ba86b07ab2eaeac0",
            "type": "message",
            "status": "completed",
            "content": [
              {
                "type": "output_text",
                "annotations": [],
                "logprobs": [],
                "text": "The current temperature in Florence, Italy is 40\u00b0C."
              }
            ],
            "role": "assistant"
          }
        ],
        "parallel_tool_calls": true,
        "presence_penalty": 0.0,
        "previous_response_id": null,
        "prompt_cache_key": null,
        "prompt_cache_retention": null,
        "reasoning": {
          "effort": "high",
          "summary": "detailed"
        },
        "safety_identifier": null,
        "service_tier": "default",
        "store": false,
        "temperature": 1.0,
        "text": {
          "format": {
            "type": "text"
          },
          "verbosity": "medium"
        },
        "tool_choice": "auto",
        "tools": [
          {
            "type": "function",
            "description": "Get weather information for a location",
            "name": "weather",
            "parameters": {
              "properties": {
                "location": {
                  "description": "the city",
                  "type": "string"
                }
              },
              "required": [
                "location"
              ],
              "type": "object"
            },
            "strict": false
          }
        ],
        "top_logprobs": 0,
        "top_p": 1.0,
        "truncation": "disabled",
        "usage": {
          "input_tokens": 191,
          "input_tokens_details": {
            "cached_tokens": 0
          },
          "output_tokens": 16,
          "output_tokens_details": {
            "reasoning_tokens": 0
          },
          "total_tokens": 207
        },
        "user": null,
        "metadata": {}
      }
    headers:
      Content-Type:
      - application/json
    status: 200 OK
    code: 200
    duration: 767.910625ms
