Skip to content

Commit 3506199

Browse files
committed
fix sensitive data
1 parent 3f2e40a commit 3506199

File tree

7 files changed

+195
-201033
lines changed

7 files changed

+195
-201033
lines changed

src/tests/openai/cassettes/test_async_chat_completion_streaming.yaml

Lines changed: 33 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ interactions:
77
- application/json
88
accept-encoding:
99
- gzip, deflate
10+
authorization:
11+
- Bearer test_openai_api_key
1012
connection:
1113
- keep-alive
1214
content-length:
@@ -16,7 +18,7 @@ interactions:
1618
host:
1719
- api.openai.com
1820
user-agent:
19-
- AsyncOpenAI/Python 1.30.1
21+
- AsyncOpenAI/Python 1.54.4
2022
x-stainless-arch:
2123
- arm64
2224
x-stainless-async:
@@ -26,75 +28,77 @@ interactions:
2628
x-stainless-os:
2729
- MacOS
2830
x-stainless-package-version:
29-
- 1.30.1
31+
- 1.54.4
32+
x-stainless-retry-count:
33+
- '0'
3034
x-stainless-runtime:
3135
- CPython
3236
x-stainless-runtime-version:
33-
- 3.12.3
37+
- 3.11.5
3438
method: POST
3539
uri: https://api.openai.com/v1/chat/completions
3640
response:
3741
body:
38-
string: 'data: {"id":"chatcmpl-A1AmANY7TGsx9lezpQOx8JNTT13TY","object":"chat.completion.chunk","created":1724843114,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}]}
42+
string: 'data: {"id":"chatcmpl-AfUGyiyLhMxyQ7bE5ZmRJ8rDijY11","object":"chat.completion.chunk","created":1734451180,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"logprobs":null,"finish_reason":null}]}
3943
4044
41-
data: {"id":"chatcmpl-A1AmANY7TGsx9lezpQOx8JNTT13TY","object":"chat.completion.chunk","created":1724843114,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"This"},"logprobs":null,"finish_reason":null}]}
45+
data: {"id":"chatcmpl-AfUGyiyLhMxyQ7bE5ZmRJ8rDijY11","object":"chat.completion.chunk","created":1734451180,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"This"},"logprobs":null,"finish_reason":null}]}
4246
4347
44-
data: {"id":"chatcmpl-A1AmANY7TGsx9lezpQOx8JNTT13TY","object":"chat.completion.chunk","created":1724843114,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
48+
data: {"id":"chatcmpl-AfUGyiyLhMxyQ7bE5ZmRJ8rDijY11","object":"chat.completion.chunk","created":1734451180,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
4549
is"},"logprobs":null,"finish_reason":null}]}
4650
4751
48-
data: {"id":"chatcmpl-A1AmANY7TGsx9lezpQOx8JNTT13TY","object":"chat.completion.chunk","created":1724843114,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
52+
data: {"id":"chatcmpl-AfUGyiyLhMxyQ7bE5ZmRJ8rDijY11","object":"chat.completion.chunk","created":1734451180,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
4953
a"},"logprobs":null,"finish_reason":null}]}
5054
5155
52-
data: {"id":"chatcmpl-A1AmANY7TGsx9lezpQOx8JNTT13TY","object":"chat.completion.chunk","created":1724843114,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
56+
data: {"id":"chatcmpl-AfUGyiyLhMxyQ7bE5ZmRJ8rDijY11","object":"chat.completion.chunk","created":1734451180,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
5357
test"},"logprobs":null,"finish_reason":null}]}
5458
5559
56-
data: {"id":"chatcmpl-A1AmANY7TGsx9lezpQOx8JNTT13TY","object":"chat.completion.chunk","created":1724843114,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]}
60+
data: {"id":"chatcmpl-AfUGyiyLhMxyQ7bE5ZmRJ8rDijY11","object":"chat.completion.chunk","created":1734451180,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
5761
5862
59-
data: {"id":"chatcmpl-A1AmANY7TGsx9lezpQOx8JNTT13TY","object":"chat.completion.chunk","created":1724843114,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
60-
This"},"logprobs":null,"finish_reason":null}]}
63+
data: {"id":"chatcmpl-AfUGyiyLhMxyQ7bE5ZmRJ8rDijY11","object":"chat.completion.chunk","created":1734451180,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
64+
this"},"logprobs":null,"finish_reason":null}]}
6165
6266
63-
data: {"id":"chatcmpl-A1AmANY7TGsx9lezpQOx8JNTT13TY","object":"chat.completion.chunk","created":1724843114,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
67+
data: {"id":"chatcmpl-AfUGyiyLhMxyQ7bE5ZmRJ8rDijY11","object":"chat.completion.chunk","created":1734451180,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
6468
is"},"logprobs":null,"finish_reason":null}]}
6569
6670
67-
data: {"id":"chatcmpl-A1AmANY7TGsx9lezpQOx8JNTT13TY","object":"chat.completion.chunk","created":1724843114,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
71+
data: {"id":"chatcmpl-AfUGyiyLhMxyQ7bE5ZmRJ8rDijY11","object":"chat.completion.chunk","created":1734451180,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
6872
a"},"logprobs":null,"finish_reason":null}]}
6973
7074
71-
data: {"id":"chatcmpl-A1AmANY7TGsx9lezpQOx8JNTT13TY","object":"chat.completion.chunk","created":1724843114,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
75+
data: {"id":"chatcmpl-AfUGyiyLhMxyQ7bE5ZmRJ8rDijY11","object":"chat.completion.chunk","created":1734451180,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
7276
test"},"logprobs":null,"finish_reason":null}]}
7377
7478
75-
data: {"id":"chatcmpl-A1AmANY7TGsx9lezpQOx8JNTT13TY","object":"chat.completion.chunk","created":1724843114,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]}
79+
data: {"id":"chatcmpl-AfUGyiyLhMxyQ7bE5ZmRJ8rDijY11","object":"chat.completion.chunk","created":1734451180,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null}]}
7680
7781
78-
data: {"id":"chatcmpl-A1AmANY7TGsx9lezpQOx8JNTT13TY","object":"chat.completion.chunk","created":1724843114,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
79-
This"},"logprobs":null,"finish_reason":null}]}
82+
data: {"id":"chatcmpl-AfUGyiyLhMxyQ7bE5ZmRJ8rDijY11","object":"chat.completion.chunk","created":1734451180,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
83+
this"},"logprobs":null,"finish_reason":null}]}
8084
8185
82-
data: {"id":"chatcmpl-A1AmANY7TGsx9lezpQOx8JNTT13TY","object":"chat.completion.chunk","created":1724843114,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
86+
data: {"id":"chatcmpl-AfUGyiyLhMxyQ7bE5ZmRJ8rDijY11","object":"chat.completion.chunk","created":1734451180,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
8387
is"},"logprobs":null,"finish_reason":null}]}
8488
8589
86-
data: {"id":"chatcmpl-A1AmANY7TGsx9lezpQOx8JNTT13TY","object":"chat.completion.chunk","created":1724843114,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
90+
data: {"id":"chatcmpl-AfUGyiyLhMxyQ7bE5ZmRJ8rDijY11","object":"chat.completion.chunk","created":1734451180,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
8791
a"},"logprobs":null,"finish_reason":null}]}
8892
8993
90-
data: {"id":"chatcmpl-A1AmANY7TGsx9lezpQOx8JNTT13TY","object":"chat.completion.chunk","created":1724843114,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
94+
data: {"id":"chatcmpl-AfUGyiyLhMxyQ7bE5ZmRJ8rDijY11","object":"chat.completion.chunk","created":1734451180,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"
9195
test"},"logprobs":null,"finish_reason":null}]}
9296
9397
94-
data: {"id":"chatcmpl-A1AmANY7TGsx9lezpQOx8JNTT13TY","object":"chat.completion.chunk","created":1724843114,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]}
98+
data: {"id":"chatcmpl-AfUGyiyLhMxyQ7bE5ZmRJ8rDijY11","object":"chat.completion.chunk","created":1734451180,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"logprobs":null,"finish_reason":null}]}
9599
96100
97-
data: {"id":"chatcmpl-A1AmANY7TGsx9lezpQOx8JNTT13TY","object":"chat.completion.chunk","created":1724843114,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]}
101+
data: {"id":"chatcmpl-AfUGyiyLhMxyQ7bE5ZmRJ8rDijY11","object":"chat.completion.chunk","created":1734451180,"model":"gpt-4-0613","system_fingerprint":null,"choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}]}
98102
99103
100104
data: [DONE]
@@ -105,21 +109,16 @@ interactions:
105109
CF-Cache-Status:
106110
- DYNAMIC
107111
CF-RAY:
108-
- 8ba3d335793f1bd8-BOM
112+
- 8f381f23caffe15c-MRS
109113
Connection:
110114
- keep-alive
111115
Content-Type:
112116
- text/event-stream; charset=utf-8
113117
Date:
114-
- Wed, 28 Aug 2024 11:05:14 GMT
118+
- Tue, 17 Dec 2024 15:59:40 GMT
115119
Server:
116120
- cloudflare
117-
Set-Cookie:
118-
- __cf_bm=nXSzNkiyyYYUW5K4kkG_5S1Cu2CW_gufpypYqAtDhXY-1724843114-1.0.1.1-KB34l0CfjGeVtsqaBjhsRF3KIXSkZCC6fLqyMXCsPvmHWQ9EVopZ8hLHQ4S0POQQ5.7lkEaFb9JjBZjJfgBleQ;
119-
path=/; expires=Wed, 28-Aug-24 11:35:14 GMT; domain=.api.openai.com; HttpOnly;
120-
Secure; SameSite=None
121-
- _cfuvid=8L1dZYomenUDny1OLXAiqN6yOSuI9h3X6yA1d7S0G4U-1724843114334-0.0.1.1-604800000;
122-
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
121+
Set-Cookie: test_set_cookie
123122
Transfer-Encoding:
124123
- chunked
125124
X-Content-Type-Options:
@@ -128,14 +127,13 @@ interactions:
128127
- X-Request-ID
129128
alt-svc:
130129
- h3=":443"; ma=86400
131-
openai-organization:
132-
- scale3-1
130+
openai-organization: test_openai_org_id
133131
openai-processing-ms:
134-
- '160'
132+
- '593'
135133
openai-version:
136134
- '2020-10-01'
137135
strict-transport-security:
138-
- max-age=15552000; includeSubDomains; preload
136+
- max-age=31536000; includeSubDomains; preload
139137
x-ratelimit-limit-requests:
140138
- '10000'
141139
x-ratelimit-limit-tokens:
@@ -149,7 +147,7 @@ interactions:
149147
x-ratelimit-reset-tokens:
150148
- 1ms
151149
x-request-id:
152-
- req_7db02982c898e0a9750e8f8be365e791
150+
- req_2c10ce5cfeea691c1aa466f566da73b0
153151
status:
154152
code: 200
155153
message: OK

src/tests/openai/cassettes/test_async_image_generation.yaml

Lines changed: 25 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ interactions:
1212
- application/json
1313
accept-encoding:
1414
- gzip, deflate
15+
authorization:
16+
- Bearer test_openai_api_key
1517
connection:
1618
- keep-alive
1719
content-length:
@@ -21,7 +23,7 @@ interactions:
2123
host:
2224
- api.openai.com
2325
user-agent:
24-
- AsyncOpenAI/Python 1.30.1
26+
- AsyncOpenAI/Python 1.54.4
2527
x-stainless-arch:
2628
- arm64
2729
x-stainless-async:
@@ -31,51 +33,40 @@ interactions:
3133
x-stainless-os:
3234
- MacOS
3335
x-stainless-package-version:
34-
- 1.30.1
36+
- 1.54.4
37+
x-stainless-retry-count:
38+
- '0'
3539
x-stainless-runtime:
3640
- CPython
3741
x-stainless-runtime-version:
38-
- 3.12.3
42+
- 3.11.5
3943
method: POST
4044
uri: https://api.openai.com/v1/images/generations
4145
response:
4246
body:
43-
string: !!binary |
44-
H4sIAAAAAAAAA1xS227jNhB991cMDNhPli+SbMsBjCLebtBsAhTderduiqIYkSOJEUUqHNKOuth/
45-
X9CLtkhfSB6cuZ0z/DICGAtH6EmOb2C1TfMiz1b5dhYJiR7HN/DHCADgy/UEGDs6Kyb5V+9s1/vx
46-
DYzvO6yVIUBoCJ2/oOuUqYEFGYKK0AcXMYIInqDEcgAmBOs9uTkcG8XglRlmUOlQVQNcBwqOQDFI
47-
pyofs0lTjcbrAawB5RlKFO0MLso3V6iV95rgQmVJEnq8MPggWpKA0josY+KZ3DW2Ci4REZEE9rZD
48-
0czh3kODDBpdTTNwNhg5A4PqTEADMXCPrtXE31v6hkAEpywrP4CtYLDBN3P4rVGaQHl4tkMVtB6g
49-
0hY9x6ljjndoXoLSM/AXZVp9NYoQOLgKBUEwktw10qFUaATF4hHXVksyIAO3s9hAq7rxV8NJ6gF8
50-
4+yFAUEH9s4GjmW5Ia2hcraLjoC38ZqBpM4a9g6vzkZHnu1ZoQY0EoLpFHtsv1sWd5Ro1RJIxX1U
51-
q6yZj2f//IbgdPwCjfc93ywWFpVErQl71TsrWQSel9qWc2EdzS/KSHvhuSG/6J06o6eFdXVyeN6c
52-
Tq+vd3X7gX6/Mw2n5qSXxi0Ck0t+eul659qHh/Pnz3/fHx8Ox7w58erXherq5PZwl7unX94ZQv9p
53-
9frx9fRuk5WHbt6b+gf2+3SZ5smySNLiuFpOstvlepLd5tunKdMbLn3D9Xs35fO/Act8ym5fTh0L
54-
uVdGK0Px7feqw5oWvamn3Fol93K9XG82W5nIjVglOS4xKVFsk7Uociy22/WuKqbceiX3mBdC4HqT
55-
0EZikhc5JVis8mQniny3WaelKLMY+t+U22OaTbLbLMrIdk9Tbt9I+D/J+3LK7VsRqt6/fxRPz8Mk
56-
PTzWd/f+IetlUb4vCux2+eNRcPGx303Sw7BYT9LDzx+Gl3aS/Ti+bvvrCODP0dfRNwAAAP//AwCM
57-
rHe4NQQAAA==
47+
string: "{\n \"created\": 1734451207,\n \"data\": [\n {\n \"revised_prompt\":
48+
\"A delightful image of a small and adorable baby sea otter. This fluffy infant
49+
creature floats majestically on its back, its tiny webbed paws tucked appealingly
50+
over its fuzzy belly. Its large, round eyes, full of youthful curiosity, shine
51+
with innocence. As the otter contentedly floats on the serene, sparkling surface
52+
of the ocean bathed in the warm rays of a golden sunset, it tosses a gleaming
53+
sea shell from one paw to the other with a playful manner so characteristic
54+
of otters.\",\n \"url\": \"https://oaidalleapiprodscus.blob.core.windows.net/private/org-Bj6XXxxFgkJeYFnhs2nXl0nr/user-HqmprrkKKvVVzITKBT4hXs1S/img-RLtSZRmrobT6Xbu7FWPwiCeM.png?st=2024-12-17T15%3A00%3A07Z&se=2024-12-17T17%3A00%3A07Z&sp=r&sv=2024-08-04&sr=b&rscd=inline&rsct=image/png&skoid=d505667d-d6c1-4a0a-bac7-5c84a87759f8&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2024-12-17T09%3A42%3A14Z&ske=2024-12-18T09%3A42%3A14Z&sks=b&skv=2024-08-04&sig=7YKCfmRECvp90/JHQao6nknwrFpYxXrZ0gFR%2Bdey/z4%3D\"\n
55+
\ }\n ]\n}\n"
5856
headers:
5957
CF-Cache-Status:
6058
- DYNAMIC
6159
CF-RAY:
62-
- 8ba3d398fd213b34-BOM
60+
- 8f381f754d7eee72-MXP
6361
Connection:
6462
- keep-alive
65-
Content-Encoding:
66-
- gzip
6763
Content-Type:
6864
- application/json
6965
Date:
70-
- Wed, 28 Aug 2024 11:05:48 GMT
66+
- Tue, 17 Dec 2024 16:00:07 GMT
7167
Server:
7268
- cloudflare
73-
Set-Cookie:
74-
- __cf_bm=g5qknHnjVP7kkaGrWc6RqvVjSmiWgOaOEweDFDGSQ7g-1724843148-1.0.1.1-mngSNlnO8YV2mQ1tzcQJaymcDItIVaCm8v4U4I46I5yjb_9HwSpMSa9uVwuamzQbVGGdE02258WeQMqYo.c72w;
75-
path=/; expires=Wed, 28-Aug-24 11:35:48 GMT; domain=.api.openai.com; HttpOnly;
76-
Secure; SameSite=None
77-
- _cfuvid=ZD.yrekeTVlEqlHli7ZLelPz4jSGof3VcPe8t8nLvTA-1724843148132-0.0.1.1-604800000;
78-
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
69+
Set-Cookie: test_set_cookie
7970
Transfer-Encoding:
8071
- chunked
8172
X-Content-Type-Options:
@@ -84,16 +75,17 @@ interactions:
8475
- '*'
8576
alt-svc:
8677
- h3=":443"; ma=86400
87-
openai-organization:
88-
- scale3-1
78+
content-length:
79+
- '1059'
80+
openai-organization: test_openai_org_id
8981
openai-processing-ms:
90-
- '17618'
82+
- '13967'
9183
openai-version:
9284
- '2020-10-01'
9385
strict-transport-security:
94-
- max-age=15552000; includeSubDomains; preload
86+
- max-age=31536000; includeSubDomains; preload
9587
x-request-id:
96-
- req_c88dfb23fd705f1c8769503ac4ca534e
88+
- req_fa1aa7ee7cca31bd46bd020cae9e26c1
9789
status:
9890
code: 200
9991
message: OK

src/tests/openai/cassettes/test_chat_completion.yaml

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ interactions:
77
- application/json
88
accept-encoding:
99
- gzip, deflate
10+
authorization:
11+
- Bearer test_openai_api_key
1012
connection:
1113
- keep-alive
1214
content-length:
@@ -16,7 +18,7 @@ interactions:
1618
host:
1719
- api.openai.com
1820
user-agent:
19-
- OpenAI/Python 1.30.1
21+
- OpenAI/Python 1.54.4
2022
x-stainless-arch:
2123
- arm64
2224
x-stainless-async:
@@ -26,43 +28,42 @@ interactions:
2628
x-stainless-os:
2729
- MacOS
2830
x-stainless-package-version:
29-
- 1.30.1
31+
- 1.54.4
32+
x-stainless-retry-count:
33+
- '0'
3034
x-stainless-runtime:
3135
- CPython
3236
x-stainless-runtime-version:
33-
- 3.12.3
37+
- 3.11.5
3438
method: POST
3539
uri: https://api.openai.com/v1/chat/completions
3640
response:
3741
body:
38-
string: !!binary |
39-
H4sIAAAAAAAAAwAAAP//hJDNbsIwEITveYqVz4AIBFpyQ71x6QFUVa0q5IQlcXG8lndRWxDvXjmE
40-
n556seT5dkaze0wAlNmoHFRZaykbb/vzdN6MXndvi2JyeKSX2dfCLt3T8+pQLKVWveig4hNLubgG
41-
JTXeohhyZ1wG1IIxNX0YZY/ZOB1OW9DQBm20VV76WX84TcedoyZTIqsc3hMAgGP7xm5ug98qh2Hv
42-
ojTIrCtU+XUIQAWyUVGa2bBoJ6p3gyU5QdfWXdWGwTBoEGQZwD//+5SA2z3r2N7tre3007WWpcoH
43-
KrjjV31rnOF6HVAzuViBhbxq6SkB+GjX3//ZSPlAjZe10A5dDEyzc5y6HfoOTjooJNre9NEs6fop
44-
/mHBZr01rsLgg2lv0W5xSn4BAAD//wMA/o3fKwICAAA=
42+
string: "{\n \"id\": \"chatcmpl-AfUGvwtr6mZr8LYkW4eWopTigyfMu\",\n \"object\":
43+
\"chat.completion\",\n \"created\": 1734451177,\n \"model\": \"gpt-4-0613\",\n
44+
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
45+
\"assistant\",\n \"content\": \"This is a test. This is a test. This
46+
is a test.\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
47+
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
48+
14,\n \"completion_tokens\": 15,\n \"total_tokens\": 29,\n \"prompt_tokens_details\":
49+
{\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\":
50+
{\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\":
51+
0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"system_fingerprint\":
52+
null\n}\n"
4553
headers:
4654
CF-Cache-Status:
4755
- DYNAMIC
4856
CF-RAY:
49-
- 8ba3d309397848fe-BOM
57+
- 8f381f0eea310d76-MRS
5058
Connection:
5159
- keep-alive
52-
Content-Encoding:
53-
- gzip
5460
Content-Type:
5561
- application/json
5662
Date:
57-
- Wed, 28 Aug 2024 11:05:08 GMT
63+
- Tue, 17 Dec 2024 15:59:38 GMT
5864
Server:
5965
- cloudflare
60-
Set-Cookie:
61-
- __cf_bm=2htioKVBseZckwL6tCrFITeY9xzQEUoNUsKCApe9hHs-1724843108-1.0.1.1-UOCC3VYA9zk4dg_lKVKaU9ekjx9H3a0JgmTuWSGzWSu7YHjDvlxxhl5J0OrNZ1jX_.0n2IGB306spo4VYa2P.g;
62-
path=/; expires=Wed, 28-Aug-24 11:35:08 GMT; domain=.api.openai.com; HttpOnly;
63-
Secure; SameSite=None
64-
- _cfuvid=xZfheRamXHAjCWMg8Cx1pHFmXE6muAGfp3VHbLNA7ag-1724843108209-0.0.1.1-604800000;
65-
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
66+
Set-Cookie: test_set_cookie
6667
Transfer-Encoding:
6768
- chunked
6869
X-Content-Type-Options:
@@ -71,14 +72,15 @@ interactions:
7172
- X-Request-ID
7273
alt-svc:
7374
- h3=":443"; ma=86400
74-
openai-organization:
75-
- scale3-1
75+
content-length:
76+
- '775'
77+
openai-organization: test_openai_org_id
7678
openai-processing-ms:
77-
- '1142'
79+
- '1080'
7880
openai-version:
7981
- '2020-10-01'
8082
strict-transport-security:
81-
- max-age=15552000; includeSubDomains; preload
83+
- max-age=31536000; includeSubDomains; preload
8284
x-ratelimit-limit-requests:
8385
- '10000'
8486
x-ratelimit-limit-tokens:
@@ -92,7 +94,7 @@ interactions:
9294
x-ratelimit-reset-tokens:
9395
- 1ms
9496
x-request-id:
95-
- req_1c42b761d436b2000d23f8929b26492c
97+
- req_579c343e5003db6374cb44f220bf9101
9698
status:
9799
code: 200
98100
message: OK

0 commit comments

Comments
 (0)