Skip to content

Commit 90895e6

Browse files
Recordings update from CI (setup: vllm, suite: base-vllm-subset)
1 parent 3c8f6a3 commit 90895e6

32 files changed

+51501
-3071
lines changed

tests/integration/recordings/responses/004d45cd1d80.json

Lines changed: 3995 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"request": {
3+
"method": "POST",
4+
"url": "http://localhost:8000/v1/v1/chat/completions",
5+
"headers": {},
6+
"body": {
7+
"model": "Qwen/Qwen3-0.6B",
8+
"messages": [
9+
{
10+
"role": "user",
11+
"content": [
12+
{
13+
"type": "text",
14+
"text": "Which planet has rings around it with a name starting with letter S?"
15+
}
16+
]
17+
}
18+
],
19+
"stream": false,
20+
"temperature": 0.0,
21+
"max_tokens": 4096
22+
},
23+
"endpoint": "/v1/chat/completions",
24+
"model": "Qwen/Qwen3-0.6B"
25+
},
26+
"response": {
27+
"body": {
28+
"__type__": "openai.types.chat.chat_completion.ChatCompletion",
29+
"__data__": {
30+
"id": "chatcmpl-3f07285dd3ed4fb29fa26754a40891bf",
31+
"choices": [
32+
{
33+
"finish_reason": "stop",
34+
"index": 0,
35+
"logprobs": null,
36+
"message": {
37+
"content": "<think>\nOkay, so the user is asking which planet has rings around it and the name starts with the letter S. Let me think. I know that there are many planets in our solar system, and some of them have rings. The question is about the planet that has rings and the name starts with S.\n\nFirst, I should recall the planets in order of their distance from the Sun. The order is Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, Neptune. Now, Saturn is the next one after Neptune. Wait, but the user is asking for a planet with rings. I remember that Saturn is known for having rings, which are made up of ice and dust. So Saturn is the one with rings. But the name starts with S. Let me check the planet's name. Saturn is spelled S-A-T-U-R-N. Yes, the first letter is S. So the answer should be Saturn. But wait, are there any other planets with rings that start with S? For example, maybe something like Suyu? No, that's not a planet. The only one I can think of is Saturn. So the answer is Saturn.\n</think>\n\nThe planet with rings around it and a name starting with the letter S is **Saturn**. Its name is **Saturn**.",
38+
"refusal": null,
39+
"role": "assistant",
40+
"annotations": null,
41+
"audio": null,
42+
"function_call": null,
43+
"tool_calls": [],
44+
"reasoning_content": null
45+
},
46+
"stop_reason": null
47+
}
48+
],
49+
"created": 1758748986,
50+
"model": "Qwen/Qwen3-0.6B",
51+
"object": "chat.completion",
52+
"service_tier": null,
53+
"system_fingerprint": null,
54+
"usage": {
55+
"completion_tokens": 269,
56+
"prompt_tokens": 22,
57+
"total_tokens": 291,
58+
"completion_tokens_details": null,
59+
"prompt_tokens_details": null
60+
},
61+
"prompt_logprobs": null,
62+
"kv_transfer_params": null
63+
}
64+
},
65+
"is_streaming": false
66+
}
67+
}
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
{
2+
"request": {
3+
"method": "POST",
4+
"url": "http://localhost:8000/v1/v1/chat/completions",
5+
"headers": {},
6+
"body": {
7+
"model": "Qwen/Qwen3-0.6B",
8+
"tools": [
9+
{
10+
"type": "function",
11+
"function": {
12+
"name": "get_weather",
13+
"description": "Get the current weather",
14+
"parameters": {
15+
"type": "object",
16+
"properties": {
17+
"location": {
18+
"type": "string",
19+
"description": "The city and state (both required), e.g. San Francisco, CA."
20+
}
21+
},
22+
"required": [
23+
"location"
24+
]
25+
}
26+
}
27+
}
28+
],
29+
"messages": [
30+
{
31+
"role": "system",
32+
"content": [
33+
{
34+
"type": "text",
35+
"text": "Pretend you are a weather assistant."
36+
}
37+
]
38+
},
39+
{
40+
"role": "user",
41+
"content": [
42+
{
43+
"type": "text",
44+
"text": "What's the weather like in San Francisco, CA?"
45+
}
46+
]
47+
}
48+
],
49+
"stream": false,
50+
"temperature": 0.0,
51+
"max_tokens": 4096
52+
},
53+
"endpoint": "/v1/chat/completions",
54+
"model": "Qwen/Qwen3-0.6B"
55+
},
56+
"response": {
57+
"body": {
58+
"__type__": "openai.types.chat.chat_completion.ChatCompletion",
59+
"__data__": {
60+
"id": "chatcmpl-4c0bbd72d35d407799462f1d03610cae",
61+
"choices": [
62+
{
63+
"finish_reason": "tool_calls",
64+
"index": 0,
65+
"logprobs": null,
66+
"message": {
67+
"content": "<think>\nOkay, the user is asking about the weather in San Francisco, CA. I need to use the get_weather function. The function requires the location parameter, which in this case is \"San Francisco, CA\". I should make sure to format the arguments correctly as a JSON object. Let me check the required parameters again to confirm. The location is required, so I'll include that. No other parameters are needed. Alright, I'll structure the tool call accordingly.\n</think>\n\n",
68+
"refusal": null,
69+
"role": "assistant",
70+
"annotations": null,
71+
"audio": null,
72+
"function_call": null,
73+
"tool_calls": [
74+
{
75+
"id": "chatcmpl-tool-93d5381c4e934ffb8ee7940ea7949ea1",
76+
"function": {
77+
"arguments": "{\"location\": \"San Francisco, CA\"}",
78+
"name": "get_weather"
79+
},
80+
"type": "function"
81+
}
82+
],
83+
"reasoning_content": null
84+
},
85+
"stop_reason": null
86+
}
87+
],
88+
"created": 1758748648,
89+
"model": "Qwen/Qwen3-0.6B",
90+
"object": "chat.completion",
91+
"service_tier": null,
92+
"system_fingerprint": null,
93+
"usage": {
94+
"completion_tokens": 120,
95+
"prompt_tokens": 185,
96+
"total_tokens": 305,
97+
"completion_tokens_details": null,
98+
"prompt_tokens_details": null
99+
},
100+
"prompt_logprobs": null,
101+
"kv_transfer_params": null
102+
}
103+
},
104+
"is_streaming": false
105+
}
106+
}

0 commit comments

Comments
 (0)