|
| 1 | +interactions: |
| 2 | +- request: |
| 3 | + body: '{"messages": [{"role": "user", "content": "Say this is a test three times"}], |
| 4 | + "model": "gpt-4", "stream": true}' |
| 5 | + headers: |
| 6 | + accept: |
| 7 | + - application/json |
| 8 | + accept-encoding: |
| 9 | + - gzip, deflate |
| 10 | + authorization: |
| 11 | + - Bearer test_openai_api_key |
| 12 | + connection: |
| 13 | + - keep-alive |
| 14 | + content-length: |
| 15 | + - '111' |
| 16 | + content-type: |
| 17 | + - application/json |
| 18 | + host: |
| 19 | + - api.openai.com |
| 20 | + user-agent: |
| 21 | + - AsyncOpenAI/Python 1.26.0 |
| 22 | + x-stainless-arch: |
| 23 | + - arm64 |
| 24 | + x-stainless-async: |
| 25 | + - async:asyncio |
| 26 | + x-stainless-lang: |
| 27 | + - python |
| 28 | + x-stainless-os: |
| 29 | + - MacOS |
| 30 | + x-stainless-package-version: |
| 31 | + - 1.26.0 |
| 32 | + x-stainless-runtime: |
| 33 | + - CPython |
| 34 | + x-stainless-runtime-version: |
| 35 | + - 3.11.5 |
| 36 | + method: POST |
| 37 | + uri: https://api.openai.com/v1/chat/completions |
| 38 | + response: |
| 39 | + body: |
| 40 | + string: 'data: {"id":"chatcmpl-AfUeQFnD4Sq5TbvvNUu3dWWbGNTKh","object":"chat.completion.chunk","created":1734452634,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}]} |
| 41 | +
|
| 42 | +
|
| 43 | + data: {"id":"chatcmpl-AfUeQFnD4Sq5TbvvNUu3dWWbGNTKh","object":"chat.completion.chunk","created":1734452634,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"This"},"logprobs":null,"finish_reason":null}]} |
| 44 | +
|
| 45 | +
|
| 46 | + data: {"id":"chatcmpl-AfUeQFnD4Sq5TbvvNUu3dWWbGNTKh","object":"chat.completion.chunk","created":1734452634,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" |
| 47 | + is"},"logprobs":null,"finish_reason":null}]} |
| 48 | +
|
| 49 | +
|
| 50 | + data: {"id":"chatcmpl-AfUeQFnD4Sq5TbvvNUu3dWWbGNTKh","object":"chat.completion.chunk","created":1734452634,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" |
| 51 | + a"},"logprobs":null,"finish_reason":null}]} |
| 52 | +
|
| 53 | +
|
| 54 | + data: {"id":"chatcmpl-AfUeQFnD4Sq5TbvvNUu3dWWbGNTKh","object":"chat.completion.chunk","created":1734452634,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" |
| 55 | + test"},"logprobs":null,"finish_reason":null}]} |
| 56 | +
|
| 57 | +
|
| 58 | + data: {"id":"chatcmpl-AfUeQFnD4Sq5TbvvNUu3dWWbGNTKh","object":"chat.completion.chunk","created":1734452634,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} |
| 59 | +
|
| 60 | +
|
| 61 | + data: {"id":"chatcmpl-AfUeQFnD4Sq5TbvvNUu3dWWbGNTKh","object":"chat.completion.chunk","created":1734452634,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" |
| 62 | + this"},"logprobs":null,"finish_reason":null}]} |
| 63 | +
|
| 64 | +
|
| 65 | + data: {"id":"chatcmpl-AfUeQFnD4Sq5TbvvNUu3dWWbGNTKh","object":"chat.completion.chunk","created":1734452634,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" |
| 66 | + is"},"logprobs":null,"finish_reason":null}]} |
| 67 | +
|
| 68 | +
|
| 69 | + data: {"id":"chatcmpl-AfUeQFnD4Sq5TbvvNUu3dWWbGNTKh","object":"chat.completion.chunk","created":1734452634,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" |
| 70 | + a"},"logprobs":null,"finish_reason":null}]} |
| 71 | +
|
| 72 | +
|
| 73 | + data: {"id":"chatcmpl-AfUeQFnD4Sq5TbvvNUu3dWWbGNTKh","object":"chat.completion.chunk","created":1734452634,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" |
| 74 | + test"},"logprobs":null,"finish_reason":null}]} |
| 75 | +
|
| 76 | +
|
| 77 | + data: {"id":"chatcmpl-AfUeQFnD4Sq5TbvvNUu3dWWbGNTKh","object":"chat.completion.chunk","created":1734452634,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]} |
| 78 | +
|
| 79 | +
|
| 80 | + data: {"id":"chatcmpl-AfUeQFnD4Sq5TbvvNUu3dWWbGNTKh","object":"chat.completion.chunk","created":1734452634,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" |
| 81 | + this"},"logprobs":null,"finish_reason":null}]} |
| 82 | +
|
| 83 | +
|
| 84 | + data: {"id":"chatcmpl-AfUeQFnD4Sq5TbvvNUu3dWWbGNTKh","object":"chat.completion.chunk","created":1734452634,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" |
| 85 | + is"},"logprobs":null,"finish_reason":null}]} |
| 86 | +
|
| 87 | +
|
| 88 | + data: {"id":"chatcmpl-AfUeQFnD4Sq5TbvvNUu3dWWbGNTKh","object":"chat.completion.chunk","created":1734452634,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" |
| 89 | + a"},"logprobs":null,"finish_reason":null}]} |
| 90 | +
|
| 91 | +
|
| 92 | + data: {"id":"chatcmpl-AfUeQFnD4Sq5TbvvNUu3dWWbGNTKh","object":"chat.completion.chunk","created":1734452634,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" |
| 93 | + test"},"logprobs":null,"finish_reason":null}]} |
| 94 | +
|
| 95 | +
|
| 96 | + data: {"id":"chatcmpl-AfUeQFnD4Sq5TbvvNUu3dWWbGNTKh","object":"chat.completion.chunk","created":1734452634,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]} |
| 97 | +
|
| 98 | +
|
| 99 | + data: {"id":"chatcmpl-AfUeQFnD4Sq5TbvvNUu3dWWbGNTKh","object":"chat.completion.chunk","created":1734452634,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]} |
| 100 | +
|
| 101 | +
|
| 102 | + data: [DONE] |
| 103 | +
|
| 104 | +
|
| 105 | + ' |
| 106 | + headers: |
| 107 | + CF-Cache-Status: |
| 108 | + - DYNAMIC |
| 109 | + CF-RAY: |
| 110 | + - 8f3842a47b01e1e4-MRS |
| 111 | + Connection: |
| 112 | + - keep-alive |
| 113 | + Content-Type: |
| 114 | + - text/event-stream; charset=utf-8 |
| 115 | + Date: |
| 116 | + - Tue, 17 Dec 2024 16:23:54 GMT |
| 117 | + Server: |
| 118 | + - cloudflare |
| 119 | + Set-Cookie: test_set_cookie |
| 120 | + Transfer-Encoding: |
| 121 | + - chunked |
| 122 | + X-Content-Type-Options: |
| 123 | + - nosniff |
| 124 | + access-control-expose-headers: |
| 125 | + - X-Request-ID |
| 126 | + alt-svc: |
| 127 | + - h3=":443"; ma=86400 |
| 128 | + openai-organization: test_openai_org_id |
| 129 | + openai-processing-ms: |
| 130 | + - '257' |
| 131 | + openai-version: |
| 132 | + - '2020-10-01' |
| 133 | + strict-transport-security: |
| 134 | + - max-age=31536000; includeSubDomains; preload |
| 135 | + x-ratelimit-limit-requests: |
| 136 | + - '10000' |
| 137 | + x-ratelimit-limit-tokens: |
| 138 | + - '1000000' |
| 139 | + x-ratelimit-remaining-requests: |
| 140 | + - '9999' |
| 141 | + x-ratelimit-remaining-tokens: |
| 142 | + - '999975' |
| 143 | + x-ratelimit-reset-requests: |
| 144 | + - 6ms |
| 145 | + x-ratelimit-reset-tokens: |
| 146 | + - 1ms |
| 147 | + x-request-id: |
| 148 | + - req_3f8afd6b13d1af96ca6967b2db1df302 |
| 149 | + status: |
| 150 | + code: 200 |
| 151 | + message: OK |
| 152 | +version: 1 |
0 commit comments