interactions:
- request:
    body: '{"messages":[{"role":"system","content":"You are a helpful math tutor."},{"role":"user","content":"solve
      8x + 31 = 2"}],"model":"gpt-4o-2024-08-06","response_format":{"type":"json_schema","json_schema":{"schema":{"$defs":{"Step":{"properties":{"explanation":{"title":"Explanation","type":"string"},"output":{"title":"Output","type":"string"}},"required":["explanation","output"],"title":"Step","type":"object","additionalProperties":false}},"properties":{"steps":{"items":{"$ref":"#/$defs/Step"},"title":"Steps","type":"array"},"final_answer":{"title":"Final
      Answer","type":"string"}},"required":["steps","final_answer"],"title":"MathResponse","type":"object","additionalProperties":false},"name":"MathResponse","strict":true}},"stream":false}'
    headers:
      accept:
      - application/json
      accept-encoding:
      - gzip, deflate
      connection:
      - keep-alive
      content-length:
      - '743'
      content-type:
      - application/json
      host:
      - api.openai.com
      user-agent:
      - OpenAI/Python 1.109.1
      x-stainless-arch:
      - arm64
      x-stainless-async:
      - 'false'
      x-stainless-helper-method:
      - chat.completions.parse
      x-stainless-lang:
      - python
      x-stainless-os:
      - Linux
      x-stainless-package-version:
      - 1.109.1
      x-stainless-read-timeout:
      - '600'
      x-stainless-retry-count:
      - '0'
      x-stainless-runtime:
      - CPython
      x-stainless-runtime-version:
      - 3.10.18
    method: POST
    uri: https://api.openai.com/v1/chat/completions
  response:
    body:
      string: !!binary |
        H4sIAAAAAAAAAwAAAP//jFNNb9swDL3nVxA6x0XiNIkTYKd2GHYYsK8Ow6rAUGQ61iZLqkS3CQL/
        98FKGqdbOuyiAx/f46NI7gcATBVsCUxWgmTtdHLzMd191nfp3acfD9+nMltPv4m34t2Hr+8ni1s2
        7Bh2/RMlPbOupK2dRlLWHGDpURB2quP5bDTKprPZPAK1LVB3tI2j5Nom6Si9TkZZMpodiZVVEgNb
        wv0AAGAf386iKXDLljAaPkdqDEFskC1PSQDMW91FmAhBBRKG2LAHpTWEJrrecxYIXeBseb/nDLdO
        CyO6BjhbcvalWZMXkmAyhtLbGtaWKgiqwABkQQWrBSFQhUDoa3hSVMH2irMhZ7Yh11CUybbwBlJI
        YDLmrB1eKHQjtGxOWl5tKopluipB1U6rchchfGgi63KNJF28UuBWPXZyZ/7XO8iivNWPCKX1F4xH
        Tc45L72Q+3TR7rOWs3Y15KxURuhcmPCE/l+55x/vsWyC6OZuGq3PAGGMpWg2jnx1RNrTkLXdOG/X
        4Q9q50KFKvcogjXdQANZxyLaDgBWcZmaF/vBnLe1o5zsL4zlxun8oMf69e3RxeQIkiWh+3iaHlfw
        pV5eIAmlw9k6MilkhUVP7XdXNIWyZ8DgrOu/3VzSPnSuzOZ/5HtASnSERe48Fkq+7LhP89hd92tp
        p1+OhllA/6gk5qTQd5MosBSNPhweC7tAWOelMhv0zqvD9ZUul+tyPM+m09mcDdrBbwAAAP//AwAg
        DnRRhgQAAA==
    headers:
      CF-RAY:
      - 98c4d11c8fd7d618-CDG
      Connection:
      - keep-alive
      Content-Encoding:
      - gzip
      Content-Type:
      - application/json
      Date:
      - Fri, 10 Oct 2025 08:41:09 GMT
      Server:
      - cloudflare
      Set-Cookie:
      - __cf_bm=_QAg.2GaR8RmUZ5sGzUB3YOqO9TpV9433Ephm46Q9Nw-1760085669-1.0.1.1-TjruizVnPmCw1C0eGH_7veNvCeWgKEWZOsGG2q1MKHMp5astjyLPSHCQ3VY9npDbWXz2MntjTb8mW7fhsX3CxXVkKdDTZbHrCHtL1USwi5o;
        path=/; expires=Fri, 10-Oct-25 09:11:09 GMT; domain=.api.openai.com; HttpOnly;
        Secure; SameSite=None
      - _cfuvid=JOfAYUVMVNSadmfRhMnJSteKXql_bLIv0BZBwweFego-1760085669886-0.0.1.1-604800000;
        path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
      Strict-Transport-Security:
      - max-age=31536000; includeSubDomains; preload
      Transfer-Encoding:
      - chunked
      X-Content-Type-Options:
      - nosniff
      access-control-expose-headers:
      - X-Request-ID
      alt-svc:
      - h3=":443"; ma=86400
      cf-cache-status:
      - DYNAMIC
      openai-organization:
      - datadog-4
      openai-processing-ms:
      - '2081'
      openai-project:
      - proj_6cMiry5CHgK3zKotG0LtMb9H
      openai-version:
      - '2020-10-01'
      x-envoy-upstream-service-time:
      - '2093'
      x-openai-proxy-wasm:
      - v0.1
      x-ratelimit-limit-requests:
      - '10000'
      x-ratelimit-limit-tokens:
      - '30000000'
      x-ratelimit-remaining-requests:
      - '9999'
      x-ratelimit-remaining-tokens:
      - '29999985'
      x-ratelimit-reset-requests:
      - 6ms
      x-ratelimit-reset-tokens:
      - 0s
      x-request-id:
      - req_4a118bfbe6384f4c83b53b51a469603b
    status:
      code: 200
      message: OK
version: 1
