|
| 1 | +interactions: |
| 2 | +- request: |
| 3 | + body: '{"model":"gpt-4o-mini","temperature":0,"messages":[{"role":"user","content":"Invent |
| 4 | + a character for a video game"}],"tool_choice":{"type":"function","function":{"name":"json"}},"tools":[{"type":"function","function":{"name":"json","description":"Respond |
| 5 | + with a JSON object.","parameters":{"type":"object","properties":{"name":{"type":"string"},"age":{"type":"number"},"height":{"type":"string"}},"required":["name","age","height"],"additionalProperties":false}}}],"stream":true,"stream_options":{"include_usage":true}}' |
| 6 | + headers: |
| 7 | + ? !!python/object/apply:multidict._multidict.istr |
| 8 | + - Accept |
| 9 | + : - '*/*' |
| 10 | + ? !!python/object/apply:multidict._multidict.istr |
| 11 | + - Accept-Encoding |
| 12 | + : - gzip, deflate |
| 13 | + ? !!python/object/apply:multidict._multidict.istr |
| 14 | + - Accept-Language |
| 15 | + : - '*' |
| 16 | + ? !!python/object/apply:multidict._multidict.istr |
| 17 | + - Connection |
| 18 | + : - keep-alive |
| 19 | + Content-Length: |
| 20 | + - '518' |
| 21 | + ? !!python/object/apply:multidict._multidict.istr |
| 22 | + - Content-Type |
| 23 | + : - application/json |
| 24 | + ? !!python/object/apply:multidict._multidict.istr |
| 25 | + - User-Agent |
| 26 | + : - node |
| 27 | + ? !!python/object/apply:multidict._multidict.istr |
| 28 | + - sec-fetch-mode |
| 29 | + : - cors |
| 30 | + method: POST |
| 31 | + uri: https://api.openai.com/v1/chat/completions |
| 32 | + response: |
| 33 | + body: |
| 34 | + string: 'data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[{"index":0,"delta":{"role":"assistant","content":null,"tool_calls":[{"index":0,"id":"call_O3NCxnSPqpfNJSbyGZ5TprnX","type":"function","function":{"name":"json","arguments":""}}],"refusal":null},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"EVikkqZ9g7g"} |
| 35 | +
|
| 36 | +
|
| 37 | + data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Qc1FIvqm2L7Jz3"} |
| 38 | +
|
| 39 | +
|
| 40 | + data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"name"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"2j8DsF7lK84MF"} |
| 41 | +
|
| 42 | +
|
| 43 | + data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"RpwvB5kMO1RD"} |
| 44 | +
|
| 45 | +
|
| 46 | + data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"Z"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":""} |
| 47 | +
|
| 48 | +
|
| 49 | + data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ara"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"p48KmfzRHGcL2N"} |
| 50 | +
|
| 51 | +
|
| 52 | + data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":" |
| 53 | + Wind"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"kFS1OrPTBXeK"} |
| 54 | +
|
| 55 | +
|
| 56 | + data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"r"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":""} |
| 57 | +
|
| 58 | +
|
| 59 | + data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"ider"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"u1G3vP26il6Tr"} |
| 60 | +
|
| 61 | +
|
| 62 | + data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\",\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"dyxlDAvaad6o"} |
| 63 | +
|
| 64 | +
|
| 65 | + data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"age"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"On2U2q6hoqqtnP"} |
| 66 | +
|
| 67 | +
|
| 68 | + data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Ig4tYbRAWjzMUn"} |
| 69 | +
|
| 70 | +
|
| 71 | + data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"28"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"Z73S6eRQlvt8q30"} |
| 72 | +
|
| 73 | +
|
| 74 | + data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":",\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"73QYFzW0YDfvE5"} |
| 75 | +
|
| 76 | +
|
| 77 | + data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"height"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"wYqQSZENkaw"} |
| 78 | +
|
| 79 | +
|
| 80 | + data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"6Nq8cxSlE9op"} |
| 81 | +
|
| 82 | +
|
| 83 | + data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"5"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":""} |
| 84 | +
|
| 85 | +
|
| 86 | + data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"''"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":""} |
| 87 | +
|
| 88 | +
|
| 89 | + data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"7"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":""} |
| 90 | +
|
| 91 | +
|
| 92 | + data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\\\""}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"ViZdGZ6i85HVR"} |
| 93 | +
|
| 94 | +
|
| 95 | + data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\"}"}}]},"logprobs":null,"finish_reason":null}],"usage":null,"obfuscation":"GIi7VnNE95XoKz"} |
| 96 | +
|
| 97 | +
|
| 98 | + data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"usage":null,"obfuscation":"RSIrV"} |
| 99 | +
|
| 100 | +
|
| 101 | + data: {"id":"chatcmpl-Cxc9Rr7xSrEtVgoph8jxJl7twoiid","object":"chat.completion.chunk","created":1768324041,"model":"gpt-4o-mini-2024-07-18","service_tier":"default","system_fingerprint":"fp_29330a9688","choices":[],"usage":{"prompt_tokens":65,"completion_tokens":20,"total_tokens":85,"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":"tJm017bY6q"} |
| 102 | +
|
| 103 | +
|
| 104 | + data: [DONE] |
| 105 | +
|
| 106 | +
|
| 107 | + ' |
| 108 | + headers: |
| 109 | + CF-RAY: |
| 110 | + - 9bd67d4a0e5f82f6-IAD |
| 111 | + Connection: |
| 112 | + - keep-alive |
| 113 | + Content-Type: |
| 114 | + - text/event-stream; charset=utf-8 |
| 115 | + Date: |
| 116 | + - Tue, 13 Jan 2026 17:07:21 GMT |
| 117 | + Server: |
| 118 | + - cloudflare |
| 119 | + Set-Cookie: |
| 120 | + - __cf_bm=7LjIwA0zXbQJNpkJNVcOUwKkl7Vtim6q73sAR_EgS0k-1768324041-1.0.1.1-6cHwErIUCaM.INoq4x2.Ch3IxfQfK1KvUskkrPSR1rhhA2zEbRQP7ri3D7yvP700N8bkzlW5FZT5Y1tz.YmmcnnlWfxgYQNbCbxS7gw5lxE; |
| 121 | + path=/; expires=Tue, 13-Jan-26 17:37:21 GMT; domain=.api.openai.com; HttpOnly; |
| 122 | + Secure; SameSite=None |
| 123 | + - _cfuvid=3zPKmerOeIEOylHrOuK2ZIaBmD_uKdKTThcW5tdieu0-1768324041898-0.0.1.1-604800000; |
| 124 | + path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None |
| 125 | + Strict-Transport-Security: |
| 126 | + - max-age=31536000; includeSubDomains; preload |
| 127 | + Transfer-Encoding: |
| 128 | + - chunked |
| 129 | + X-Content-Type-Options: |
| 130 | + - nosniff |
| 131 | + access-control-expose-headers: |
| 132 | + - X-Request-ID |
| 133 | + alt-svc: |
| 134 | + - h3=":443"; ma=86400 |
| 135 | + cf-cache-status: |
| 136 | + - DYNAMIC |
| 137 | + openai-organization: |
| 138 | + - datadog-staging |
| 139 | + openai-processing-ms: |
| 140 | + - '349' |
| 141 | + openai-project: |
| 142 | + - proj_gt6TQZPRbZfoY2J9AQlEJMpd |
| 143 | + openai-version: |
| 144 | + - '2020-10-01' |
| 145 | + x-envoy-upstream-service-time: |
| 146 | + - '364' |
| 147 | + x-openai-proxy-wasm: |
| 148 | + - v0.1 |
| 149 | + x-ratelimit-limit-requests: |
| 150 | + - '30000' |
| 151 | + x-ratelimit-limit-tokens: |
| 152 | + - '150000000' |
| 153 | + x-ratelimit-remaining-requests: |
| 154 | + - '29999' |
| 155 | + x-ratelimit-remaining-tokens: |
| 156 | + - '149999990' |
| 157 | + x-ratelimit-reset-requests: |
| 158 | + - 2ms |
| 159 | + x-ratelimit-reset-tokens: |
| 160 | + - 0s |
| 161 | + x-request-id: |
| 162 | + - req_90a96caaad7541d4b04bba0f4a74ea6a |
| 163 | + status: |
| 164 | + code: 200 |
| 165 | + message: OK |
| 166 | +version: 1 |
0 commit comments