interactions:
- request:
    body: '{"model": "gpt-3.5-turbo-instruct", "prompt": [12345, 123456], "frequency_penalty":
      0, "logit_bias": {}, "max_tokens": 256, "n": 1, "presence_penalty": 0, "temperature":
      0.7, "top_p": 1}'
    headers:
      ? !!python/object/apply:multidict._multidict.istr
      - Accept
      : - application/json
      ? !!python/object/apply:multidict._multidict.istr
      - Accept-Encoding
      : - gzip, deflate
      ? !!python/object/apply:multidict._multidict.istr
      - Connection
      : - keep-alive
      Content-Length:
      - '186'
      ? !!python/object/apply:multidict._multidict.istr
      - Content-Type
      : - application/json
      ? !!python/object/apply:multidict._multidict.istr
      - User-Agent
      : - OpenAI/Python 1.30.3
      ? !!python/object/apply:multidict._multidict.istr
      - X-Stainless-Arch
      : - arm64
      ? !!python/object/apply:multidict._multidict.istr
      - X-Stainless-Async
      : - 'false'
      ? !!python/object/apply:multidict._multidict.istr
      - X-Stainless-Lang
      : - python
      ? !!python/object/apply:multidict._multidict.istr
      - X-Stainless-OS
      : - MacOS
      ? !!python/object/apply:multidict._multidict.istr
      - X-Stainless-Package-Version
      : - 1.30.3
      ? !!python/object/apply:multidict._multidict.istr
      - X-Stainless-Runtime
      : - CPython
      ? !!python/object/apply:multidict._multidict.istr
      - X-Stainless-Runtime-Version
      : - 3.10.13
    method: POST
    uri: https://api.openai.com/v1/completions
  response:
    body:
      string: "{\n  \"error\": {\n    \"message\": \"Invalid token in prompt: 123456.
        Minimum value is 0, maximum value is 100257 (inclusive).\",\n    \"type\":
        \"invalid_request_error\",\n    \"param\": null,\n    \"code\": null\n  }\n}"
    headers:
      CF-RAY:
      - 96e91d404de0c35d-EWR
      Connection:
      - keep-alive
      Content-Length:
      - '201'
      Content-Type:
      - application/json
      Date:
      - Wed, 13 Aug 2025 15:06:04 GMT
      Server:
      - cloudflare
      Set-Cookie:
      - _cfuvid=b7UKUE5QUzwGn8g6.ZQhF4m.B1sdMO.b9yl.jjAj8vo-1755097564303-0.0.1.1-604800000;
        path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
      Strict-Transport-Security:
      - max-age=31536000; includeSubDomains; preload
      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-staging
      openai-processing-ms:
      - '16'
      openai-project:
      - proj_gt6TQZPRbZfoY2J9AQlEJMpd
      openai-version:
      - '2020-10-01'
      x-envoy-upstream-service-time:
      - '36'
      x-ratelimit-limit-requests:
      - '3500'
      x-ratelimit-limit-tokens:
      - '90000'
      x-ratelimit-remaining-requests:
      - '3499'
      x-ratelimit-remaining-tokens:
      - '89997'
      x-ratelimit-reset-requests:
      - 17ms
      x-ratelimit-reset-tokens:
      - 2ms
      x-request-id:
      - req_37825b8ced824ce18527e2afd4f60393
    status:
      code: 400
      message: Bad Request
version: 1
