|
| 1 | +interactions: |
| 2 | +- request: |
| 3 | + body: '{"model":"gpt-3.5-turbo","messages":[{"role":"user","content":"What is |
| 4 | + the weather in New York City?"}],"tools":[{"type":"function","function":{"name":"get_weather","description":"Get |
| 5 | + the weather in a given city","parameters":{"type":"object","properties":{"city":{"type":"string","description":"The |
| 6 | + city to get the weather for"}}}}}],"tool_choice":"auto","stream":true,"stream_options":{"include_usage":true}}' |
| 7 | + headers: |
| 8 | + ? !!python/object/apply:multidict._multidict.istr |
| 9 | + - Accept |
| 10 | + : - application/json |
| 11 | + ? !!python/object/apply:multidict._multidict.istr |
| 12 | + - Accept-Encoding |
| 13 | + : - gzip, deflate |
| 14 | + ? !!python/object/apply:multidict._multidict.istr |
| 15 | + - Accept-Language |
| 16 | + : - '*' |
| 17 | + ? !!python/object/apply:multidict._multidict.istr |
| 18 | + - Connection |
| 19 | + : - keep-alive |
| 20 | + Content-Length: |
| 21 | + - '410' |
| 22 | + ? !!python/object/apply:multidict._multidict.istr |
| 23 | + - Content-Type |
| 24 | + : - application/json |
| 25 | + ? !!python/object/apply:multidict._multidict.istr |
| 26 | + - User-Agent |
| 27 | + : - OpenAI/JS 6.4.0 |
| 28 | + ? !!python/object/apply:multidict._multidict.istr |
| 29 | + - X-Stainless-Arch |
| 30 | + : - arm64 |
| 31 | + ? !!python/object/apply:multidict._multidict.istr |
| 32 | + - X-Stainless-Lang |
| 33 | + : - js |
| 34 | + ? !!python/object/apply:multidict._multidict.istr |
| 35 | + - X-Stainless-OS |
| 36 | + : - MacOS |
| 37 | + ? !!python/object/apply:multidict._multidict.istr |
| 38 | + - X-Stainless-Package-Version |
| 39 | + : - 6.4.0 |
| 40 | + ? !!python/object/apply:multidict._multidict.istr |
| 41 | + - X-Stainless-Retry-Count |
| 42 | + : - '0' |
| 43 | + ? !!python/object/apply:multidict._multidict.istr |
| 44 | + - X-Stainless-Runtime |
| 45 | + : - node |
| 46 | + ? !!python/object/apply:multidict._multidict.istr |
| 47 | + - X-Stainless-Runtime-Version |
| 48 | + : - v22.17.0 |
| 49 | + ? !!python/object/apply:multidict._multidict.istr |
| 50 | + - sec-fetch-mode |
| 51 | + : - cors |
| 52 | + method: POST |
| 53 | + uri: https://api.openai.com/v1/chat/completions |
| 54 | + response: |
| 55 | + body: |
| 56 | + string: 'data: {"id":"chatcmpl-CSw4x8Te053upyjQ9iUXktFGwbe3b","object":"chat.completion.chunk","created":1761012475,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_FOfwGtELG2od6UEZKIOg9c3T","type":"function","function":{"name":"get_weather","arguments":""}}],"refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"zGW"} |
| 57 | +
|
| 58 | +
|
| 59 | + data: {"id":"chatcmpl-CSw4x8Te053upyjQ9iUXktFGwbe3b","object":"chat.completion.chunk","created":1761012475,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"34TgNLxdmdCRK"} |
| 60 | +
|
| 61 | +
|
| 62 | + data: {"id":"chatcmpl-CSw4x8Te053upyjQ9iUXktFGwbe3b","object":"chat.completion.chunk","created":1761012475,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"city"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"covhD9t0pUjb"} |
| 63 | +
|
| 64 | +
|
| 65 | + data: {"id":"chatcmpl-CSw4x8Te053upyjQ9iUXktFGwbe3b","object":"chat.completion.chunk","created":1761012475,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"lUWK1fqiRgy"} |
| 66 | +
|
| 67 | +
|
| 68 | + data: {"id":"chatcmpl-CSw4x8Te053upyjQ9iUXktFGwbe3b","object":"chat.completion.chunk","created":1761012475,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"New"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"SBm0l8w1hkARw"} |
| 69 | +
|
| 70 | +
|
| 71 | + data: {"id":"chatcmpl-CSw4x8Te053upyjQ9iUXktFGwbe3b","object":"chat.completion.chunk","created":1761012475,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" |
| 72 | + York"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"raK6arPwTlI"} |
| 73 | +
|
| 74 | +
|
| 75 | + data: {"id":"chatcmpl-CSw4x8Te053upyjQ9iUXktFGwbe3b","object":"chat.completion.chunk","created":1761012475,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" |
| 76 | + City"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"EN7HgoklOww"} |
| 77 | +
|
| 78 | +
|
| 79 | + data: {"id":"chatcmpl-CSw4x8Te053upyjQ9iUXktFGwbe3b","object":"chat.completion.chunk","created":1761012475,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"}"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"wd8s2xSmM3Xyc"} |
| 80 | +
|
| 81 | +
|
| 82 | + data: {"id":"chatcmpl-CSw4x8Te053upyjQ9iUXktFGwbe3b","object":"chat.completion.chunk","created":1761012475,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"tool_calls"}],"usage":null,"obfuscation":"d0tZAczcCMwrZm"} |
| 83 | +
|
| 84 | +
|
| 85 | + data: {"id":"chatcmpl-CSw4x8Te053upyjQ9iUXktFGwbe3b","object":"chat.completion.chunk","created":1761012475,"model":"gpt-3.5-turbo-0125","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":65,"completion_tokens":16,"total_tokens":81,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"LKGhb8GvL"} |
| 86 | +
|
| 87 | +
|
| 88 | + data: [DONE] |
| 89 | +
|
| 90 | +
|
| 91 | + ' |
| 92 | + headers: |
| 93 | + CF-RAY: |
| 94 | + - 991d34444adb7d18-EWR |
| 95 | + Connection: |
| 96 | + - keep-alive |
| 97 | + Content-Type: |
| 98 | + - text/event-stream; charset=utf-8 |
| 99 | + Date: |
| 100 | + - Tue, 21 Oct 2025 02:07:56 GMT |
| 101 | + Server: |
| 102 | + - cloudflare |
| 103 | + Set-Cookie: |
| 104 | + - __cf_bm=IdNyfBOHfWBj_mBsHAlYh8nrMzoC7J8MxQqtcQHNgeE-1761012476-1.0.1.1-cpOs8CUoL4HF0cm9NmhB2T1Zj_ZPZQr.99BnM5b3trMjWVA.e9OmvLm6iwUvzbPm8DIHRNa24zpoOqp749wy.MoslcHCZHrAQY1FUrGKG5A; |
| 105 | + path=/; expires=Tue, 21-Oct-25 02:37:56 GMT; domain=.api.openai.com; HttpOnly; |
| 106 | + Secure; SameSite=None |
| 107 | + - _cfuvid=qIJBolCy7BMyQbSPPS9nL2cD9fA3UOJ2HIi7Xmcc.qM-1761012476034-0.0.1.1-604800000; |
| 108 | + path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None |
| 109 | + Strict-Transport-Security: |
| 110 | + - max-age=31536000; includeSubDomains; preload |
| 111 | + Transfer-Encoding: |
| 112 | + - chunked |
| 113 | + X-Content-Type-Options: |
| 114 | + - nosniff |
| 115 | + access-control-expose-headers: |
| 116 | + - X-Request-ID |
| 117 | + alt-svc: |
| 118 | + - h3=":443"; ma=86400 |
| 119 | + cf-cache-status: |
| 120 | + - DYNAMIC |
| 121 | + openai-organization: |
| 122 | + - datadog-staging |
| 123 | + openai-processing-ms: |
| 124 | + - '362' |
| 125 | + openai-project: |
| 126 | + - proj_gt6TQZPRbZfoY2J9AQlEJMpd |
| 127 | + openai-version: |
| 128 | + - '2020-10-01' |
| 129 | + x-envoy-upstream-service-time: |
| 130 | + - '407' |
| 131 | + x-openai-proxy-wasm: |
| 132 | + - v0.1 |
| 133 | + x-ratelimit-limit-requests: |
| 134 | + - '10000' |
| 135 | + x-ratelimit-limit-tokens: |
| 136 | + - '50000000' |
| 137 | + x-ratelimit-remaining-requests: |
| 138 | + - '9999' |
| 139 | + x-ratelimit-remaining-tokens: |
| 140 | + - '49999987' |
| 141 | + x-ratelimit-reset-requests: |
| 142 | + - 6ms |
| 143 | + x-ratelimit-reset-tokens: |
| 144 | + - 0s |
| 145 | + x-request-id: |
| 146 | + - req_ee0a1796ca9a48fbabc207b1a2b7e925 |
| 147 | + status: |
| 148 | + code: 200 |
| 149 | + message: OK |
| 150 | +version: 1 |
0 commit comments