Skip to content

Commit fb53a7c

Browse files
sabrennerpabloerhard
authored andcommitted
chore(deps): bump vercel ai sdk dependency in tests (#9041)
1 parent c00d664 commit fb53a7c

5 files changed

Lines changed: 188 additions & 6 deletions

File tree

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"request": {
3+
"method": "POST",
4+
"url": "https://api.openai.com/v1/responses",
5+
"headers": {
6+
"Connection": "keep-alive",
7+
"Content-Type": "application/json",
8+
"User-Agent": "ai/6.0.208 ai-sdk/provider-utils/4.0.30 runtime/node.js/24",
9+
"Accept": "*/*",
10+
"Accept-Language": "*",
11+
"sec-fetch-mode": "cors",
12+
"Accept-Encoding": "gzip, deflate",
13+
"Content-Length": "717"
14+
},
15+
"body": "{\"model\":\"gpt-4o-mini\",\"input\":[{\"role\":\"system\",\"content\":\"You are a helpful assistant\"},{\"role\":\"user\",\"content\":[{\"type\":\"input_text\",\"text\":\"What is the weather in Tokyo?\"}]},{\"type\":\"function_call\",\"call_id\":\"call_b4NUuswsekH4heYzWQjvPTKA\",\"name\":\"weather\",\"arguments\":\"{\\\"location\\\":\\\"Tokyo\\\"}\"},{\"type\":\"function_call_output\",\"call_id\":\"call_b4NUuswsekH4heYzWQjvPTKA\",\"output\":\"{\\\"location\\\":\\\"Tokyo\\\",\\\"temperature\\\":72}\"}],\"store\":false,\"tools\":[{\"type\":\"function\",\"name\":\"weather\",\"description\":\"Get the weather in a given location\",\"parameters\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The location to get the weather for\"}},\"required\":[\"location\"]}}],\"tool_choice\":\"auto\"}"
16+
},
17+
"response": {
18+
"status": {
19+
"code": 200,
20+
"message": "OK"
21+
},
22+
"headers": {
23+
"Date": "Tue, 23 Jun 2026 18:21:10 GMT",
24+
"Content-Type": "application/json",
25+
"Transfer-Encoding": "chunked",
26+
"Connection": "keep-alive",
27+
"CF-Ray": "a10582bfdf45d961-BOS",
28+
"CF-Cache-Status": "DYNAMIC",
29+
"Server": "cloudflare",
30+
"Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload",
31+
"X-Content-Type-Options": "nosniff",
32+
"access-control-expose-headers": "X-Request-ID, CF-Ray, CF-Ray",
33+
"openai-processing-ms": "1464",
34+
"openai-project": "proj_gt6TQZPRbZfoY2J9AQlEJMpd",
35+
"openai-version": "2020-10-01",
36+
"x-ratelimit-limit-requests": "30000",
37+
"x-ratelimit-limit-tokens": "150000000",
38+
"x-ratelimit-remaining-requests": "29999",
39+
"x-ratelimit-remaining-tokens": "149999692",
40+
"x-ratelimit-reset-requests": "2ms",
41+
"x-ratelimit-reset-tokens": "0s",
42+
"x-request-id": "req_9f05ee65eae943dc8c69e14a44a7e0c3",
43+
"set-cookie": "__cf_bm=yov0wcssNgYyjFcQCF_UA0qgl78NZqEktuxxSzQgWVE-1782238868.4557707-1.0.1.1-vDA1u01aGu2QDFeJIz2_XKJJa5t2oQ9.WUI1.PUFPrLEbsG6VKBog1Ly76VfE8STlSVM4MoImY0fE942YnnZhKjkNO9uHrOqsYcniBtSSKsaRyGcJ6_nTTmVCJVyGDdC; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.openai.com; Expires=Tue, 23 Jun 2026 18:51:10 GMT",
44+
"Content-Encoding": "gzip",
45+
"alt-svc": "h3=\":443\"; ma=86400"
46+
},
47+
"body": "{\n \"id\": \"resp_0724767efdc07753016a3ace950e3881a08cfab226e12ff789\",\n \"object\": \"response\",\n \"created_at\": 1782238869,\n \"status\": \"completed\",\n \"background\": false,\n \"billing\": {\n \"payer\": \"developer\"\n },\n \"completed_at\": 1782238870,\n \"error\": null,\n \"frequency_penalty\": 0.0,\n \"incomplete_details\": null,\n \"instructions\": null,\n \"max_output_tokens\": null,\n \"max_tool_calls\": null,\n \"model\": \"gpt-4o-mini-2024-07-18\",\n \"moderation\": null,\n \"output\": [\n {\n \"id\": \"msg_0724767efdc07753016a3ace9636f081a0a3387663220a69fd\",\n \"type\": \"message\",\n \"status\": \"completed\",\n \"content\": [\n {\n \"type\": \"output_text\",\n \"annotations\": [],\n \"logprobs\": [],\n \"text\": \"The current temperature in Tokyo is 72\\u00b0F. If you need more specific weather details, let me know!\"\n }\n ],\n \"role\": \"assistant\"\n }\n ],\n \"parallel_tool_calls\": true,\n \"presence_penalty\": 0.0,\n \"previous_response_id\": null,\n \"prompt_cache_key\": null,\n \"prompt_cache_retention\": \"in_memory\",\n \"reasoning\": {\n \"context\": null,\n \"effort\": null,\n \"summary\": null\n },\n \"safety_identifier\": null,\n \"service_tier\": \"default\",\n \"store\": false,\n \"temperature\": 1.0,\n \"text\": {\n \"format\": {\n \"type\": \"text\"\n },\n \"verbosity\": \"medium\"\n },\n \"tool_choice\": \"auto\",\n \"tools\": [\n {\n \"type\": \"function\",\n \"description\": \"Get the weather in a given location\",\n \"name\": \"weather\",\n \"parameters\": {\n \"type\": \"object\",\n \"properties\": {\n \"location\": {\n \"type\": \"string\",\n \"description\": \"The location to get the weather for\"\n }\n },\n \"required\": [\n \"location\"\n ],\n \"additionalProperties\": false\n },\n \"strict\": true\n }\n ],\n \"top_logprobs\": 0,\n \"top_p\": 1.0,\n \"truncation\": \"disabled\",\n \"usage\": {\n \"input_tokens\": 90,\n \"input_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"output_tokens\": 24,\n \"output_tokens_details\": {\n \"reasoning_tokens\": 0\n },\n \"total_tokens\": 114\n },\n \"user\": null,\n \"metadata\": {}\n}"
48+
}
49+
}

0 commit comments

Comments
 (0)