interactions:
- request:
    body: |-
      {
        "messages": [
          {
            "role": "user",
            "content": "Say this is a test"
          }
        ],
        "model": "this-model-does-not-exist"
      }
    headers:
      accept:
      - application/json
      accept-encoding:
      - gzip, deflate
      authorization:
      - Bearer test_openai_api_key
      connection:
      - keep-alive
      content-length:
      - '103'
      content-type:
      - application/json
      host:
      - api.openai.com
      user-agent:
      - OpenAI/Python 1.54.3
      x-stainless-arch:
      - arm64
      x-stainless-async:
      - 'false'
      x-stainless-lang:
      - python
      x-stainless-os:
      - MacOS
      x-stainless-package-version:
      - 1.54.3
      x-stainless-retry-count:
      - '0'
      x-stainless-runtime:
      - CPython
      x-stainless-runtime-version:
      - 3.12.6
    method: POST
    uri: https://api.openai.com/v1/chat/completions
  response:
    body:
      string: |-
        {
          "error": {
            "message": "The model `this-model-does-not-exist` does not exist or you do not have access to it.",
            "type": "invalid_request_error",
            "param": null,
            "code": "model_not_found"
          }
        }
    headers:
      CF-Cache-Status:
      - DYNAMIC
      CF-RAY:
      - 8e1225a16c283d93-SIN
      Connection:
      - keep-alive
      Content-Type:
      - application/json; charset=utf-8
      Date:
      - Mon, 11 Nov 2024 23:43:52 GMT
      Server:
      - cloudflare
      Set-Cookie: test_set_cookie
      Transfer-Encoding:
      - chunked
      X-Content-Type-Options:
      - nosniff
      alt-svc:
      - h3=":443"; ma=86400
      content-length:
      - '231'
      openai-organization: test_openai_org_id
      strict-transport-security:
      - max-age=31536000; includeSubDomains; preload
      vary:
      - Origin
      x-request-id:
      - req_c3e0f92d7b5426d1a4a17bb3d39953ea
    status:
      code: 404
      message: Not Found
version: 1
