|
| 1 | +interactions: |
| 2 | +- request: |
| 3 | + body: |- |
| 4 | + { |
| 5 | + "messages": [ |
| 6 | + { |
| 7 | + "role": "user", |
| 8 | + "content": "Answer in up to 3 words: Which ocean contains Bouvet Island?" |
| 9 | + } |
| 10 | + ], |
| 11 | + "model": "gpt-4o-mini", |
| 12 | + "stream": true |
| 13 | + } |
| 14 | + headers: |
| 15 | + accept: |
| 16 | + - application/json |
| 17 | + accept-encoding: |
| 18 | + - gzip, deflate |
| 19 | + authorization: |
| 20 | + - Bearer test_openai_api_key |
| 21 | + connection: |
| 22 | + - keep-alive |
| 23 | + content-length: |
| 24 | + - '147' |
| 25 | + content-type: |
| 26 | + - application/json |
| 27 | + host: |
| 28 | + - api.openai.com |
| 29 | + user-agent: |
| 30 | + - OpenAI/Python 1.66.5 |
| 31 | + x-stainless-arch: |
| 32 | + - arm64 |
| 33 | + x-stainless-async: |
| 34 | + - 'false' |
| 35 | + x-stainless-lang: |
| 36 | + - python |
| 37 | + x-stainless-os: |
| 38 | + - MacOS |
| 39 | + x-stainless-package-version: |
| 40 | + - 1.66.5 |
| 41 | + x-stainless-read-timeout: |
| 42 | + - '600' |
| 43 | + x-stainless-retry-count: |
| 44 | + - '0' |
| 45 | + x-stainless-runtime: |
| 46 | + - CPython |
| 47 | + x-stainless-runtime-version: |
| 48 | + - 3.12.6 |
| 49 | + method: POST |
| 50 | + uri: https://api.openai.com/v1/chat/completions |
| 51 | + response: |
| 52 | + body: |
| 53 | + string: |+ |
| 54 | + data: {"id":"chatcmpl-BOja7e365tj5upRjLFinadEB8ZoDL","object":"chat.completion.chunk","created":1745234787,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_dbaca60df0","choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}]} |
| 55 | +
|
| 56 | + data: {"id":"chatcmpl-BOja7e365tj5upRjLFinadEB8ZoDL","object":"chat.completion.chunk","created":1745234787,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_dbaca60df0","choices":[{"index":0,"delta":{"content":"South"},"logprobs":null,"finish_reason":null}]} |
| 57 | +
|
| 58 | + data: {"id":"chatcmpl-BOja7e365tj5upRjLFinadEB8ZoDL","object":"chat.completion.chunk","created":1745234787,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_dbaca60df0","choices":[{"index":0,"delta":{"content":" Atlantic"},"logprobs":null,"finish_reason":null}]} |
| 59 | +
|
| 60 | + data: {"id":"chatcmpl-BOja7e365tj5upRjLFinadEB8ZoDL","object":"chat.completion.chunk","created":1745234787,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_dbaca60df0","choices":[{"index":0,"delta":{"content":" Ocean"},"logprobs":null,"finish_reason":null}]} |
| 61 | +
|
| 62 | + data: {"id":"chatcmpl-BOja7e365tj5upRjLFinadEB8ZoDL","object":"chat.completion.chunk","created":1745234787,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_dbaca60df0","choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} |
| 63 | +
|
| 64 | + data: {"id":"chatcmpl-BOja7e365tj5upRjLFinadEB8ZoDL","object":"chat.completion.chunk","created":1745234787,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_dbaca60df0","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} |
| 65 | +
|
| 66 | + data: [DONE] |
| 67 | +
|
| 68 | + headers: |
| 69 | + CF-RAY: |
| 70 | + - 933c86cb9ae5773e-LHR |
| 71 | + Connection: |
| 72 | + - keep-alive |
| 73 | + Content-Type: |
| 74 | + - text/event-stream; charset=utf-8 |
| 75 | + Date: |
| 76 | + - Mon, 21 Apr 2025 11:26:28 GMT |
| 77 | + Server: |
| 78 | + - cloudflare |
| 79 | + Set-Cookie: test_set_cookie |
| 80 | + Transfer-Encoding: |
| 81 | + - chunked |
| 82 | + X-Content-Type-Options: |
| 83 | + - nosniff |
| 84 | + access-control-expose-headers: |
| 85 | + - X-Request-ID |
| 86 | + alt-svc: |
| 87 | + - h3=":443"; ma=86400 |
| 88 | + cf-cache-status: |
| 89 | + - DYNAMIC |
| 90 | + openai-organization: test_openai_org_id |
| 91 | + openai-processing-ms: |
| 92 | + - '460' |
| 93 | + openai-version: |
| 94 | + - '2020-10-01' |
| 95 | + strict-transport-security: |
| 96 | + - max-age=31536000; includeSubDomains; preload |
| 97 | + x-ratelimit-limit-requests: |
| 98 | + - '200' |
| 99 | + x-ratelimit-limit-tokens: |
| 100 | + - '100000' |
| 101 | + x-ratelimit-remaining-requests: |
| 102 | + - '199' |
| 103 | + x-ratelimit-remaining-tokens: |
| 104 | + - '88447' |
| 105 | + x-ratelimit-reset-requests: |
| 106 | + - 7m12s |
| 107 | + x-ratelimit-reset-tokens: |
| 108 | + - 83h10m39.057s |
| 109 | + x-request-id: |
| 110 | + - req_a39b652ec0ccb45a968e10112e569bf4 |
| 111 | + status: |
| 112 | + code: 200 |
| 113 | + message: OK |
| 114 | +version: 1 |
0 commit comments