interactions:
- request:
    body: |-
      {
        "messages": [
          {
            "role": "user",
            "content": "Say this is a test"
          }
        ],
        "model": "gpt-4o-mini",
        "n": 2,
        "stream": false
      }
    headers:
      accept:
      - application/json
      accept-encoding:
      - gzip, deflate
      authorization:
      - Bearer test_openai_api_key
      connection:
      - keep-alive
      content-length:
      - '114'
      content-type:
      - application/json
      host:
      - api.openai.com
      user-agent:
      - AsyncOpenAI/Python 1.26.0
      x-stainless-arch:
      - arm64
      x-stainless-async:
      - async:asyncio
      x-stainless-lang:
      - python
      x-stainless-os:
      - MacOS
      x-stainless-package-version:
      - 1.26.0
      x-stainless-runtime:
      - CPython
      x-stainless-runtime-version:
      - 3.12.5
    method: POST
    uri: https://api.openai.com/v1/chat/completions
  response:
    body:
      string: |-
        {
          "id": "chatcmpl-ASv9XLlMmT7H3cf50dNTesHDBDwX5",
          "object": "chat.completion",
          "created": 1731456243,
          "model": "gpt-4o-mini-2024-07-18",
          "choices": [
            {
              "index": 0,
              "message": {
                "role": "assistant",
                "content": "This is a test.",
                "refusal": null
              },
              "logprobs": null,
              "finish_reason": "stop"
            },
            {
              "index": 1,
              "message": {
                "role": "assistant",
                "content": "This is a test.",
                "refusal": null
              },
              "logprobs": null,
              "finish_reason": "stop"
            }
          ],
          "usage": {
            "prompt_tokens": 12,
            "completion_tokens": 10,
            "total_tokens": 22,
            "prompt_tokens_details": {
              "cached_tokens": 0,
              "audio_tokens": 0
            },
            "completion_tokens_details": {
              "reasoning_tokens": 0,
              "audio_tokens": 0,
              "accepted_prediction_tokens": 0,
              "rejected_prediction_tokens": 0
            }
          },
          "system_fingerprint": "fp_0ba0d124f1"
        }
    headers:
      CF-Cache-Status:
      - DYNAMIC
      CF-RAY:
      - 8e1a808f6d8e0d8b-MRS
      Connection:
      - keep-alive
      Content-Type:
      - application/json
      Date:
      - Wed, 13 Nov 2024 00:04:04 GMT
      Server:
      - cloudflare
      Set-Cookie: test_set_cookie
      Transfer-Encoding:
      - chunked
      X-Content-Type-Options:
      - nosniff
      access-control-expose-headers:
      - X-Request-ID
      alt-svc:
      - h3=":443"; ma=86400
      content-length:
      - '970'
      openai-organization: test_openai_org_id
      openai-processing-ms:
      - '306'
      openai-version:
      - '2020-10-01'
      strict-transport-security:
      - max-age=31536000; includeSubDomains; preload
      x-ratelimit-limit-requests:
      - '30000'
      x-ratelimit-limit-tokens:
      - '150000000'
      x-ratelimit-remaining-requests:
      - '29999'
      x-ratelimit-remaining-tokens:
      - '149999962'
      x-ratelimit-reset-requests:
      - 2ms
      x-ratelimit-reset-tokens:
      - 0s
      x-request-id:
      - req_1317908e0f9b73276b57d4e171c533ea
    status:
      code: 200
      message: OK
version: 1
