---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 834
    host: ""
    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"}]}'
    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_004f198d0fcb211c0169b30159ecc081959941b172e908aa4a",
        "object": "response",
        "created_at": 1773338969,
        "status": "completed",
        "background": false,
        "billing": {
          "payer": "developer"
        },
        "completed_at": 1773338971,
        "error": null,
        "frequency_penalty": 0.0,
        "incomplete_details": null,
        "instructions": null,
        "max_output_tokens": 4000,
        "max_tool_calls": null,
        "model": "gpt-4o-2024-08-06",
        "output": [
          {
            "id": "fc_004f198d0fcb211c0169b3015b67188195a8d6f2ca1b65a49d",
            "type": "function_call",
            "status": "completed",
            "arguments": "{\"a\":2,\"b\":3}",
            "call_id": "call_PpY2vL7P7LXhDTGnOt7QloYN",
            "name": "add"
          },
          {
            "id": "fc_004f198d0fcb211c0169b3015b67288195930283b886688c85",
            "type": "function_call",
            "status": "completed",
            "arguments": "{\"a\":2,\"b\":3}",
            "call_id": "call_TDdcDMTBBI92rFgbWw4brhBy",
            "name": "multiply"
          }
        ],
        "parallel_tool_calls": true,
        "presence_penalty": 0.0,
        "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": 1.0,
        "text": {
          "format": {
            "type": "text"
          },
          "verbosity": "medium"
        },
        "tool_choice": "auto",
        "tools": [
          {
            "type": "function",
            "description": "Add two numbers",
            "name": "add",
            "parameters": {
              "properties": {
                "a": {
                  "description": "first number",
                  "type": "integer"
                },
                "b": {
                  "description": "second number",
                  "type": "integer"
                }
              },
              "required": [
                "a",
                "b"
              ],
              "type": "object"
            },
            "strict": false
          },
          {
            "type": "function",
            "description": "Multiply two numbers",
            "name": "multiply",
            "parameters": {
              "properties": {
                "a": {
                  "description": "first number",
                  "type": "integer"
                },
                "b": {
                  "description": "second number",
                  "type": "integer"
                }
              },
              "required": [
                "a",
                "b"
              ],
              "type": "object"
            },
            "strict": false
          }
        ],
        "top_logprobs": 0,
        "top_p": 1.0,
        "truncation": "disabled",
        "usage": {
          "input_tokens": 108,
          "input_tokens_details": {
            "cached_tokens": 0
          },
          "output_tokens": 51,
          "output_tokens_details": {
            "reasoning_tokens": 0
          },
          "total_tokens": 159
        },
        "user": null,
        "metadata": {}
      }
    headers:
      Content-Type:
      - application/json
    status: 200 OK
    code: 200
    duration: 2.647188375s
- id: 1
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 1261
    host: ""
    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_PpY2vL7P7LXhDTGnOt7QloYN","name":"add","type":"function_call"},{"arguments":"\"{\\\"a\\\":2,\\\"b\\\":3}\"","call_id":"call_TDdcDMTBBI92rFgbWw4brhBy","name":"multiply","type":"function_call"},{"call_id":"call_PpY2vL7P7LXhDTGnOt7QloYN","output":"5","type":"function_call_output"},{"call_id":"call_TDdcDMTBBI92rFgbWw4brhBy","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"}]}'
    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_0dba5e52c1794a190169b3015c6370819092abfbee309c7628",
        "object": "response",
        "created_at": 1773338972,
        "status": "completed",
        "background": false,
        "billing": {
          "payer": "developer"
        },
        "completed_at": 1773338973,
        "error": null,
        "frequency_penalty": 0.0,
        "incomplete_details": null,
        "instructions": null,
        "max_output_tokens": 4000,
        "max_tool_calls": null,
        "model": "gpt-4o-2024-08-06",
        "output": [
          {
            "id": "msg_0dba5e52c1794a190169b3015d467481908d0b632c9f281197",
            "type": "message",
            "status": "completed",
            "content": [
              {
                "type": "output_text",
                "annotations": [],
                "logprobs": [],
                "text": "The result of adding 2 and 3 is 5, and the result of multiplying them is 6."
              }
            ],
            "role": "assistant"
          }
        ],
        "parallel_tool_calls": true,
        "presence_penalty": 0.0,
        "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": 1.0,
        "text": {
          "format": {
            "type": "text"
          },
          "verbosity": "medium"
        },
        "tool_choice": "auto",
        "tools": [
          {
            "type": "function",
            "description": "Add two numbers",
            "name": "add",
            "parameters": {
              "properties": {
                "a": {
                  "description": "first number",
                  "type": "integer"
                },
                "b": {
                  "description": "second number",
                  "type": "integer"
                }
              },
              "required": [
                "a",
                "b"
              ],
              "type": "object"
            },
            "strict": false
          },
          {
            "type": "function",
            "description": "Multiply two numbers",
            "name": "multiply",
            "parameters": {
              "properties": {
                "a": {
                  "description": "first number",
                  "type": "integer"
                },
                "b": {
                  "description": "second number",
                  "type": "integer"
                }
              },
              "required": [
                "a",
                "b"
              ],
              "type": "object"
            },
            "strict": false
          }
        ],
        "top_logprobs": 0,
        "top_p": 1.0,
        "truncation": "disabled",
        "usage": {
          "input_tokens": 156,
          "input_tokens_details": {
            "cached_tokens": 0
          },
          "output_tokens": 25,
          "output_tokens_details": {
            "reasoning_tokens": 0
          },
          "total_tokens": 181
        },
        "user": null,
        "metadata": {}
      }
    headers:
      Content-Type:
      - application/json
    status: 200 OK
    code: 200
    duration: 1.938283875s
