-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtest_patch_litellm_responses.yaml
More file actions
98 lines (98 loc) · 3.95 KB
/
test_patch_litellm_responses.yaml
File metadata and controls
98 lines (98 loc) · 3.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
interactions:
- request:
body: '{"model": "gpt-4o-mini", "input": "What''s 12 + 12?", "instructions": "Just
the number please"}'
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate, zstd
Connection:
- keep-alive
Content-Length:
- '94'
Content-Type:
- application/json
Host:
- api.openai.com
User-Agent:
- litellm/1.80.11
method: POST
uri: https://api.openai.com/v1/responses
response:
body:
string: "{\n \"id\": \"resp_0c1d868d4b13f47b00695da9f0716c8195aa610e236b2467e4\"\
,\n \"object\": \"response\",\n \"created_at\": 1767746032,\n \"status\"\
: \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\"\
: \"developer\"\n },\n \"completed_at\": 1767746033,\n \"error\": null,\n\
\ \"incomplete_details\": null,\n \"instructions\": \"Just the number please\"\
,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\"\
: \"gpt-4o-mini-2024-07-18\",\n \"output\": [\n {\n \"id\": \"msg_0c1d868d4b13f47b00695da9f15e50819583c61441cd08b841\"\
,\n \"type\": \"message\",\n \"status\": \"completed\",\n \"\
content\": [\n {\n \"type\": \"output_text\",\n \"\
annotations\": [],\n \"logprobs\": [],\n \"text\": \"24\"\
\n }\n ],\n \"role\": \"assistant\"\n }\n ],\n \"parallel_tool_calls\"\
: true,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n\
\ \"prompt_cache_retention\": null,\n \"reasoning\": {\n \"effort\":\
\ null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"\
service_tier\": \"default\",\n \"store\": true,\n \"temperature\": 1.0,\n\
\ \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"\
verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\":\
\ [],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\"\
,\n \"usage\": {\n \"input_tokens\": 22,\n \"input_tokens_details\"\
: {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 2,\n \"\
output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"\
total_tokens\": 24\n },\n \"user\": null,\n \"metadata\": {}\n}"
headers:
CF-RAY:
- 9b9f5dbabdb9121f-PDX
Connection:
- keep-alive
Content-Type:
- application/json
Date:
- Wed, 07 Jan 2026 00:33:53 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=gzLtdrnV2HbuCKHt_I10NyUVXM.pTd0qboetSCQmg8Q-1767746033-1.0.1.1-wJ7_10.60MJUt53.SqOAx9RxVaTenNI_42WRp5n2mCHtM5URbzqzuY2hNWmUfRmtXegKRWGZ0cd.KPa2MV6IOuapltXXsNLnaqUIpxl3zEU;
path=/; expires=Wed, 07-Jan-26 01:03:53 GMT; domain=.api.openai.com; HttpOnly;
Secure; SameSite=None
- _cfuvid=H.FSS.Wxa0H38XUwRHp4Gtf36NbqyBKQwH7NV1dCs8o-1767746033539-0.0.1.1-604800000;
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
X-Content-Type-Options:
- nosniff
alt-svc:
- h3=":443"; ma=86400
cf-cache-status:
- DYNAMIC
openai-organization:
- user-bkcsfvrp2vh67rqzpgtsbnle
openai-processing-ms:
- '1065'
openai-project:
- proj_IG1Ou5SIiy81s3W66WZ5dtN6
openai-version:
- '2020-10-01'
x-envoy-upstream-service-time:
- '1068'
x-ratelimit-limit-requests:
- '5000'
x-ratelimit-limit-tokens:
- '4000000'
x-ratelimit-remaining-requests:
- '4999'
x-ratelimit-remaining-tokens:
- '3999959'
x-ratelimit-reset-requests:
- 12ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_4f3f01e7d8094ab08cb403645a06c542
status:
code: 200
message: OK
version: 1