|
| 1 | +interactions: |
| 2 | +- request: |
| 3 | + body: '{"messages": [{"role": "user", "content": "Say this is a test"}], "model": |
| 4 | + "gpt-4o-mini", "n": 2, "stream": false}' |
| 5 | + headers: |
| 6 | + accept: |
| 7 | + - application/json |
| 8 | + accept-encoding: |
| 9 | + - gzip, deflate |
| 10 | + connection: |
| 11 | + - keep-alive |
| 12 | + content-length: |
| 13 | + - '114' |
| 14 | + content-type: |
| 15 | + - application/json |
| 16 | + host: |
| 17 | + - api.openai.com |
| 18 | + user-agent: |
| 19 | + - AsyncOpenAI/Python 1.26.0 |
| 20 | + x-stainless-arch: |
| 21 | + - arm64 |
| 22 | + x-stainless-async: |
| 23 | + - async:asyncio |
| 24 | + x-stainless-lang: |
| 25 | + - python |
| 26 | + x-stainless-os: |
| 27 | + - MacOS |
| 28 | + x-stainless-package-version: |
| 29 | + - 1.26.0 |
| 30 | + x-stainless-runtime: |
| 31 | + - CPython |
| 32 | + x-stainless-runtime-version: |
| 33 | + - 3.12.5 |
| 34 | + method: POST |
| 35 | + uri: https://api.openai.com/v1/chat/completions |
| 36 | + response: |
| 37 | + body: |
| 38 | + string: "{\n \"id\": \"chatcmpl-ARJJITAE6LSpkhJ4F6Lkgx1hjMWce\",\n \"object\": |
| 39 | + \"chat.completion\",\n \"created\": 1731072448,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n |
| 40 | + \ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": |
| 41 | + \"assistant\",\n \"content\": \"This is a test.\",\n \"refusal\": |
| 42 | + null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n |
| 43 | + \ },\n {\n \"index\": 1,\n \"message\": {\n \"role\": |
| 44 | + \"assistant\",\n \"content\": \"This is a test. How can I assist you |
| 45 | + further?\",\n \"refusal\": null\n },\n \"logprobs\": null,\n |
| 46 | + \ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": |
| 47 | + 12,\n \"completion_tokens\": 17,\n \"total_tokens\": 29,\n \"prompt_tokens_details\": |
| 48 | + {\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": |
| 49 | + {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": |
| 50 | + 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"system_fingerprint\": |
| 51 | + \"fp_9b78b61c52\"\n}\n" |
| 52 | + headers: |
| 53 | + CF-Cache-Status: |
| 54 | + - DYNAMIC |
| 55 | + CF-RAY: |
| 56 | + - 8df5e692e8c9129a-MRS |
| 57 | + Connection: |
| 58 | + - keep-alive |
| 59 | + Content-Type: |
| 60 | + - application/json |
| 61 | + Date: |
| 62 | + - Fri, 08 Nov 2024 13:27:29 GMT |
| 63 | + Server: |
| 64 | + - cloudflare |
| 65 | + Set-Cookie: test_set_cookie |
| 66 | + Transfer-Encoding: |
| 67 | + - chunked |
| 68 | + X-Content-Type-Options: |
| 69 | + - nosniff |
| 70 | + access-control-expose-headers: |
| 71 | + - X-Request-ID |
| 72 | + alt-svc: |
| 73 | + - h3=":443"; ma=86400 |
| 74 | + content-length: |
| 75 | + - '1000' |
| 76 | + openai-organization: test_organization |
| 77 | + openai-processing-ms: |
| 78 | + - '404' |
| 79 | + openai-version: |
| 80 | + - '2020-10-01' |
| 81 | + strict-transport-security: |
| 82 | + - max-age=31536000; includeSubDomains; preload |
| 83 | + x-ratelimit-limit-requests: |
| 84 | + - '30000' |
| 85 | + x-ratelimit-limit-tokens: |
| 86 | + - '150000000' |
| 87 | + x-ratelimit-remaining-requests: |
| 88 | + - '29999' |
| 89 | + x-ratelimit-remaining-tokens: |
| 90 | + - '149999962' |
| 91 | + x-ratelimit-reset-requests: |
| 92 | + - 2ms |
| 93 | + x-ratelimit-reset-tokens: |
| 94 | + - 0s |
| 95 | + x-request-id: |
| 96 | + - req_7d77cf85328e6feb1d9c2d52f2a69cfb |
| 97 | + status: |
| 98 | + code: 200 |
| 99 | + message: OK |
| 100 | +version: 1 |
0 commit comments