Skip to content

Commit 19d1f6a

Browse files
Recordings update from CI (vllm)
1 parent 3a93464 commit 19d1f6a

30 files changed

+15790
-0
lines changed
4 KB
Binary file not shown.

tests/integration/recordings/responses/00629a2b4336.json

Lines changed: 1119 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 366 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,366 @@
1+
{
2+
"request": {
3+
"method": "POST",
4+
"url": "http://localhost:8000/v1/v1/chat/completions",
5+
"headers": {},
6+
"body": {
7+
"model": "meta-llama/Llama-3.2-1B-Instruct",
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": true,
50+
"temperature": 0.0,
51+
"max_tokens": 4096
52+
},
53+
"endpoint": "/v1/chat/completions",
54+
"model": "meta-llama/Llama-3.2-1B-Instruct"
55+
},
56+
"response": {
57+
"body": [
58+
{
59+
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
60+
"__data__": {
61+
"id": "chatcmpl-c1bbc2cf05b04b6391caffd0ee5c4c8d",
62+
"choices": [
63+
{
64+
"delta": {
65+
"content": "",
66+
"function_call": null,
67+
"refusal": null,
68+
"role": "assistant",
69+
"tool_calls": null
70+
},
71+
"finish_reason": null,
72+
"index": 0,
73+
"logprobs": null
74+
}
75+
],
76+
"created": 1755698978,
77+
"model": "meta-llama/Llama-3.2-1B-Instruct",
78+
"object": "chat.completion.chunk",
79+
"service_tier": null,
80+
"system_fingerprint": null,
81+
"usage": null
82+
}
83+
},
84+
{
85+
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
86+
"__data__": {
87+
"id": "chatcmpl-c1bbc2cf05b04b6391caffd0ee5c4c8d",
88+
"choices": [
89+
{
90+
"delta": {
91+
"content": "",
92+
"function_call": null,
93+
"refusal": null,
94+
"role": null,
95+
"tool_calls": null
96+
},
97+
"finish_reason": null,
98+
"index": 0,
99+
"logprobs": null
100+
}
101+
],
102+
"created": 1755698978,
103+
"model": "meta-llama/Llama-3.2-1B-Instruct",
104+
"object": "chat.completion.chunk",
105+
"service_tier": null,
106+
"system_fingerprint": null,
107+
"usage": null
108+
}
109+
},
110+
{
111+
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
112+
"__data__": {
113+
"id": "chatcmpl-c1bbc2cf05b04b6391caffd0ee5c4c8d",
114+
"choices": [
115+
{
116+
"delta": {
117+
"content": null,
118+
"function_call": null,
119+
"refusal": null,
120+
"role": null,
121+
"tool_calls": [
122+
{
123+
"index": 0,
124+
"id": "chatcmpl-tool-caf16cd07b3e4ed68711566d28d4bed9",
125+
"function": {
126+
"arguments": null,
127+
"name": "get_weather"
128+
},
129+
"type": "function"
130+
}
131+
]
132+
},
133+
"finish_reason": null,
134+
"index": 0,
135+
"logprobs": null
136+
}
137+
],
138+
"created": 1755698978,
139+
"model": "meta-llama/Llama-3.2-1B-Instruct",
140+
"object": "chat.completion.chunk",
141+
"service_tier": null,
142+
"system_fingerprint": null,
143+
"usage": null
144+
}
145+
},
146+
{
147+
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
148+
"__data__": {
149+
"id": "chatcmpl-c1bbc2cf05b04b6391caffd0ee5c4c8d",
150+
"choices": [
151+
{
152+
"delta": {
153+
"content": null,
154+
"function_call": null,
155+
"refusal": null,
156+
"role": null,
157+
"tool_calls": [
158+
{
159+
"index": 0,
160+
"id": null,
161+
"function": {
162+
"arguments": "{\"location\": \"",
163+
"name": null
164+
},
165+
"type": null
166+
}
167+
]
168+
},
169+
"finish_reason": null,
170+
"index": 0,
171+
"logprobs": null
172+
}
173+
],
174+
"created": 1755698978,
175+
"model": "meta-llama/Llama-3.2-1B-Instruct",
176+
"object": "chat.completion.chunk",
177+
"service_tier": null,
178+
"system_fingerprint": null,
179+
"usage": null
180+
}
181+
},
182+
{
183+
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
184+
"__data__": {
185+
"id": "chatcmpl-c1bbc2cf05b04b6391caffd0ee5c4c8d",
186+
"choices": [
187+
{
188+
"delta": {
189+
"content": null,
190+
"function_call": null,
191+
"refusal": null,
192+
"role": null,
193+
"tool_calls": [
194+
{
195+
"index": 0,
196+
"id": null,
197+
"function": {
198+
"arguments": "San",
199+
"name": null
200+
},
201+
"type": null
202+
}
203+
]
204+
},
205+
"finish_reason": null,
206+
"index": 0,
207+
"logprobs": null
208+
}
209+
],
210+
"created": 1755698978,
211+
"model": "meta-llama/Llama-3.2-1B-Instruct",
212+
"object": "chat.completion.chunk",
213+
"service_tier": null,
214+
"system_fingerprint": null,
215+
"usage": null
216+
}
217+
},
218+
{
219+
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
220+
"__data__": {
221+
"id": "chatcmpl-c1bbc2cf05b04b6391caffd0ee5c4c8d",
222+
"choices": [
223+
{
224+
"delta": {
225+
"content": null,
226+
"function_call": null,
227+
"refusal": null,
228+
"role": null,
229+
"tool_calls": [
230+
{
231+
"index": 0,
232+
"id": null,
233+
"function": {
234+
"arguments": " Francisco",
235+
"name": null
236+
},
237+
"type": null
238+
}
239+
]
240+
},
241+
"finish_reason": null,
242+
"index": 0,
243+
"logprobs": null
244+
}
245+
],
246+
"created": 1755698978,
247+
"model": "meta-llama/Llama-3.2-1B-Instruct",
248+
"object": "chat.completion.chunk",
249+
"service_tier": null,
250+
"system_fingerprint": null,
251+
"usage": null
252+
}
253+
},
254+
{
255+
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
256+
"__data__": {
257+
"id": "chatcmpl-c1bbc2cf05b04b6391caffd0ee5c4c8d",
258+
"choices": [
259+
{
260+
"delta": {
261+
"content": null,
262+
"function_call": null,
263+
"refusal": null,
264+
"role": null,
265+
"tool_calls": [
266+
{
267+
"index": 0,
268+
"id": null,
269+
"function": {
270+
"arguments": ",",
271+
"name": null
272+
},
273+
"type": null
274+
}
275+
]
276+
},
277+
"finish_reason": null,
278+
"index": 0,
279+
"logprobs": null
280+
}
281+
],
282+
"created": 1755698978,
283+
"model": "meta-llama/Llama-3.2-1B-Instruct",
284+
"object": "chat.completion.chunk",
285+
"service_tier": null,
286+
"system_fingerprint": null,
287+
"usage": null
288+
}
289+
},
290+
{
291+
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
292+
"__data__": {
293+
"id": "chatcmpl-c1bbc2cf05b04b6391caffd0ee5c4c8d",
294+
"choices": [
295+
{
296+
"delta": {
297+
"content": null,
298+
"function_call": null,
299+
"refusal": null,
300+
"role": null,
301+
"tool_calls": [
302+
{
303+
"index": 0,
304+
"id": null,
305+
"function": {
306+
"arguments": " CA\"}",
307+
"name": null
308+
},
309+
"type": null
310+
}
311+
]
312+
},
313+
"finish_reason": null,
314+
"index": 0,
315+
"logprobs": null
316+
}
317+
],
318+
"created": 1755698978,
319+
"model": "meta-llama/Llama-3.2-1B-Instruct",
320+
"object": "chat.completion.chunk",
321+
"service_tier": null,
322+
"system_fingerprint": null,
323+
"usage": null
324+
}
325+
},
326+
{
327+
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
328+
"__data__": {
329+
"id": "chatcmpl-c1bbc2cf05b04b6391caffd0ee5c4c8d",
330+
"choices": [
331+
{
332+
"delta": {
333+
"content": null,
334+
"function_call": null,
335+
"refusal": null,
336+
"role": null,
337+
"tool_calls": [
338+
{
339+
"index": 0,
340+
"id": null,
341+
"function": {
342+
"arguments": "",
343+
"name": null
344+
},
345+
"type": null
346+
}
347+
]
348+
},
349+
"finish_reason": "tool_calls",
350+
"index": 0,
351+
"logprobs": null,
352+
"stop_reason": 128008
353+
}
354+
],
355+
"created": 1755698978,
356+
"model": "meta-llama/Llama-3.2-1B-Instruct",
357+
"object": "chat.completion.chunk",
358+
"service_tier": null,
359+
"system_fingerprint": null,
360+
"usage": null
361+
}
362+
}
363+
],
364+
"is_streaming": true
365+
}
366+
}

0 commit comments

Comments
 (0)